Discuss Scratch

Happy2652RBLX
Scratcher
3 posts

When I tell a clone to go to a mouse pointer, it doesn't go to the mouse pointer

When I made this drawing code, when i clicked to draw it when off-position. Can anybody explain why?

My code

This is the sprite ‘draw’ code
if <mouse down?> then
create clone of [self]
end


when I start as a clone
go to [ mouse-pointer]

Hopefully someone can answer
deck26
Scratcher
1000+ posts

When I tell a clone to go to a mouse pointer, it doesn't go to the mouse pointer

Should work - check the costume centre is correct. Otherwise you need to share the project.
1492864
Scratcher
500+ posts

When I tell a clone to go to a mouse pointer, it doesn't go to the mouse pointer

You might need a forever block:
when I start as a clone
forever
go to (mouse pointer v)

Last edited by 1492864 (June 9, 2021 13:08:13)


Scratcheth f'rum us'r | 1 year on Scratcheth | 750+ posts| Inching to 1000 posts, 1 posteth at a timeth
Mine own most did view projecteth | Mine own most did love and fav'd projecteth | Latest projecteth |

Highlight h're and shift+down to readeth the rest.
The most did suggest suggestion:
Dark mode
Happy2652RBLX
Scratcher
3 posts

When I tell a clone to go to a mouse pointer, it doesn't go to the mouse pointer

deck26 wrote:

Should work - check the costume centre is correct. Otherwise you need to share the project.
That was the problem here, it was off centred from the middle of the costume. I have fixed the issue now.

Thank you for your help

Powered by DjangoBB