Many ways. Here’s one:
- create a blueprint interface and add functions:
- implement it in the lamp actor (or any other actor we need to interact with):
- in the player:
We Use every actor 2 meters away from us. What Use means is dictated by the implementation in the target actor. A lamp will switch on / off. But a door could play an opening animation.
Cross posted with the gent above.