-The red dot is the detector -The red circle is the range -Drag sprites (accept object A and the player) -Use arrow keys to move the player -Change the value of the variable "range"
This code is used to detect sprites within a certain range of a another sprite. Any sprites that you need to be able to be found need to have the "Reveal me" block inside, along with this: /when I recieve [reveal v] \ |Reveal me [sprite name]| The project must also contain the "server" sprite. If you want a sprite to be able to detect other sprites, use