I'd like to get a script that will change life by -1 if hit by and object. The object glides from a set point to another set point in a random amount of time. I can't get the object(which glides) to sense the object(which i want to lose a life with).
Offline
zammer990 wrote:
when gf clicked forever if <touching [movingsprite v]?> change [health v] by (-1) end
Fixed script. The key detection done is with the blue block: Touching [sprite v]? This tells us if a sprite is touching (hitting) another sprite.
Offline