Hi, i need made a action for a entity that detect if the player pass for she or not. I have used scan_entity, vec dist, but don´t works.

For example, the player´s car don´t can pass for the block if the light is red.
If the player pass in red, the game stop.

tanks for help.