How to interact with custom props

Hello everyone,

I’m currently creating a Fortnite map and I’ve imported my own 3D models. I created a Blueprint class and placed my 3D model in the static mesh. I also have some Verse code that contains a list of creative_prop_asset and spawns these assets in the map. The script also stores each spawned creative_prop_asset in a variable called creative_prop.

I would like to know how to make custom props interactive, meaning that when a player approaches, they can press E and trigger a function in Verse. I ask this because I’ve seen that Blueprint classes have properties like interaction, speed, and interaction text, but I can’t find which function of the prop class to call to detect an interaction with it.

Can you help me? Thank you very much for your guidance and advice.

You need to place a “button_device” and then you can listen for the onInteracted event, it should also contain a CustomMesh Setting

You may also consider using the interactable component that’s part of the scene graph system letting you make a “custom button” like being able to code what the interaction text can be per player, who can see the interaction prompt etc.
KEEP in mind Scene Graph is in beta and is more unstable compared to just using the buton device