Discuss Scratch

gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

I need the one that’s exactly the block

Last edited by gdfsgdfsgdfg (Oct. 20, 2023 16:13:58)

Tophatted-
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

This belongs in Help with Scripts. Reporting to be moved.
ajskateboarder
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

This is probably the best one:



I think I mentioned this same thing earlier, but what you have was probably copied incorrectly
gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

ajskateboarder wrote:

This is probably the best one:



I think I mentioned this same thing earlier, but what you have was probably copied incorrectly
Read OP
gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

Tophatted- wrote:

This belongs in Help with Scripts. Reporting to be moved.
what how is that helping with scripts
I was asking what is the best workaround that
correctly matches the block function

Last edited by gdfsgdfsgdfg (Oct. 17, 2023 15:36:14)

donotforgetmycode
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

this project has a workaround
Tophatted-
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

gdfsgdfsgdfg wrote:

Tophatted- wrote:

This belongs in Help with Scripts. Reporting to be moved.
what how is that helping with scripts
I was asking what is the best workaround that
correctly matches the block function
It’s a problem due to a block, that you need scripting to solve.
Help with Scripts.
gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

resolved, waiting for closing

Edit: It not the same
set drag mode to [draggable v]
doesn’t detect if a sprite is blocking a draggable sprite
but the workaround does

Last edited by gdfsgdfsgdfg (Oct. 17, 2023 15:53:16)

ajskateboarder
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

gdfsgdfsgdfg wrote:

ajskateboarder wrote:

This is probably the best one:



I think I mentioned this same thing earlier, but what you have was probably copied incorrectly
Read OP
Yeah that's basically what donotforgetmycode's workaround did, although it works right if you remove the <touching mouse pointer?> part in the repeat until statement
housemuseum
Scratcher
100+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

if you want a workaround thats smooth then do this

when green flag clicked
forever
if <<mouse down?> and <touching [mouse pointer v]?>> then
repeat until <not <mouse down?>>
change x by (((mouse x) - (x position)) / (2))
change y by (((mouse y) - (y position)) / (2))
end
end
end
gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

housemuseum wrote:

if you want a workaround thats smooth then do this
read op (it still detects from behind a sprite)
also it should be in questions about scratch as its not
getting help with a script but a question for the
exact workaround

Last edited by gdfsgdfsgdfg (Oct. 20, 2023 16:15:13)

INSERT-USER_NAME
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

I think I made something like this a while ago to demonstrate that I knew how to use lists, it's gonna take me a bit to find it again though.

I found it, here it is.

Last edited by INSERT-USER_NAME (Oct. 20, 2023 16:20:17)

gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

INSERT-USER_NAME wrote:

I think I made something like this a while ago to demonstrate that I knew how to use lists, it's gonna take me a bit to find it again though.

I found it, here it is.
this also detects when a sprite is in the back
cookieclickerer33
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

Not possible with the spefications you provided

gdfsgdfsgdfg
Scratcher
1000+ posts

whats is the workaround that perfectly matches {set drag mode to [draggable v]}

cookieclickerer33 wrote:

Not possible with the spefications you provided

welp this solves this

Powered by DjangoBB