"How To" Know if an actor is on Screen?

Hello! It’s my first time hearing of the “dot product” node. Could you please show me what the code would look like? Thanks!