I am currently developing a game about FNaF .I want to make a light switch witch you can only turn it on or off when u look at it and you are a close to it. I also want the crosshair to play some sort of animation inticating that you can interact with the object you are looking at.
If anyone is able to help I would appreciate it.