For this we could provide a helper or just use the existing getActionEvents and getTriggerEvents from @dcl/asset-packs.
We would need to check if those helpers work when impoted and used from the scene. Also we need to check if the payloads provided are okay or have too much unnecessary data, if so we might want to wrap them in another helper and use that instead.
For this we could provide a helper or just use the existing
getActionEvents
andgetTriggerEvents
from@dcl/asset-packs
.We would need to check if those helpers work when impoted and used from the scene. Also we need to check if the payloads provided are okay or have too much unnecessary data, if so we might want to wrap them in another helper and use that instead.