Interact Raycast (Press E)
Ready to pasteInteraction11 nodes, 14 wiresGallery
The interact key line-traces 300 units from the camera and calls Interact on the actor it hits.
Use this exact graph
Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans
Before you paste0
Nothing to set up. Open your Blueprint’s Event Graph, press Ctrl+V and compile.
Good to know. Interact is called as a function of this Blueprint, so it only reaches actors of the same class. For doors, chests or NPCs, swap the call for a Blueprint Interface message.
How it works
- Trace from the cameraIA_Interact traces a line from the camera 300 units along the view direction.
- Interact with the hitOn a hit, Break Hit Result gives the actor and Interact is called on it.
More interaction blueprints
See all 55Made with Cosindra Blueprint Studio