So, you would need to change the material, when you look at it.
- Use A Line Trace
- When Trace hits objects
- Set material to “tron material”
- When trace leaves objects
- Set material back to normal material
Use tick with delta seconds. You could also try out dot product. Check out Math_Lab in Content Examples. That could probably be the easiest way for you, depends on exactly what you need. Check them both out and see which you like.