basically, i'm telling a projectile to stop moving if it hits something. it dosent, what it will do though is move about 10 steps then stop. the EXACT code im using is
when q pressed
go to guy
swich to costume 1
point towards mouse pointer
====================
=repeat 99999999999999 times (if i use forever it runs the next code at the same time)
=if touching right wall (Sprite) or left wall or roof or ground or block
=swich to costume 2
=stop script
=else
=move 30 steps (or the guy shoots himself)
=show
=move (any number dose the same thing) steps
====================
help please
Offline
This might fix it... Not sure though because I didn't understand your post well.
when q pressed
go to guy
swich to costume 1
point towards mouse pointer
=if touching right wall (Sprite) or left wall or roof or ground or block
=swich to costume 2
=stop script
=else
=move 30 steps (or the guy shoots himself)
=show
====================
=repeat 99999999999999 times (you might want "repeat until <touching [whatever]>")
=move (any number dose the same thing) steps
====================
Offline