when green flag clicked
forever
point in direction ( mouse pointer)
end
Menolikeumean
:c
Uartar
Try:
point towards [mouse-pointer v]instead of
point in direction (mouse pointer)
Scratcher--2021
what is the full script ?
supergamer10000
What is the full code?
CoolBoy4286
No, it will work as long as the variable mouse pointer has the same value as the direction of the mouse pointer. Try:point towards [mouse-pointer v]instead ofpoint in direction (mouse pointer)
deck26
Well yes, but why go to the effort of keeping such a variable updated all the time when there's a built-in way to access the value? Your method would mean taking the current position of the sprite and that of the mouse and using trig to work out the angle so involves several unnecessary operations.No, it will work as long as the variable mouse pointer has the same value as the direction of the mouse pointer. Try:point towards [mouse-pointer v]instead ofpoint in direction (mouse pointer)
Menolikeumean
Tysm everyone!! I did a bit of stuff and it worksssssss!!!!!!! TYSM!