How do you move sprite (ball) with mouse cursor?
... I just don't know.
IHeartGaming
Offline
use these blocks:
<mouse x> and <mouse y>
Last edited by ScratchReallyROCKS (2010-08-07 10:12:23)
Offline
Or you can unlock it by clicking on the padlock looking button next to the name of your sprite at the top of the screen.
Offline
I don't understand; do you want the sprite to just go to the mouse, or do you want it to be draggable?
Offline
When you move cursor, the ball moves with it.
______________________________
IHeartGaming
Offline
IHeartGaming wrote:
When you move cursor, the ball moves with it.
Do you mean like it trails the cursor at a constant pace, it goes to the cursor, or it trails the cursor in a distance-relative way?
Constant Pace
point towards (mousepointer)
move (#) steps
At the cursor
go to (mousepointer)
Distance-relative Pace
point towards (mousepointer)
move ((distance to (mousepointer))/#)
Does this help?
Offline
Yeah!!
Thanks-
IHeartGaming
Offline