In my case, I want to detect if the “my left” part of a sprite is touching a specific color. I tried using an ask block to ask “my left”, but it didn’t work. In similar cases I might like to detect if the my left part of the sprite is touching another sprite, or something similar.
I do this because I want to make collisions for a map where you can’t walk through the walls. If my left is touching a specific color (the color of the wall) then you shouldn’t be able to go any farther left.
I would recommend making another sprite, preferably a simple dot, and make a custom block telling the dot to move to the left of the sprite and ask if it is touching a certain color.
Sorry, I can’t provide script pics right now. I am away from my computer. Give it about an hour or two.
Or you can make two sprites move as one by nesting them: grab the icon of the follower from the sprite corral and drag it onto the leader on the stage. Then whenever the leader moves, so will the follower.