ok so im kinda new at this but i am making a scratch project and i am trying to make a game where you have a few shapes and when you click on one of them you can use the arrow keys to move them around. i just need help with moving the shapes around. there are 4 shapes and i have no idea how to get them each individually to move around. please help
thanks
Offline
Try this
When [object] clicked
wait (0.2) secs
Repeat until <mouse down?>
if <key [up arrow v] pressed?>
change y by (2)
end
if <key [down arrow v] pressed?>
change y by (-2)
end
if <key [right arrow v] pressed?>
change x by (2)
end
if <key [lert arrow v] pressed?>
change x by (-2)
end
Offline