Forum Discussion
1 Reply
- Exo_GuidPartner
Have you set the object's dropdown to script assignee?
const grabbable = this.easterEggGrabbables[randomIndex].as(hz.GrabbableEntity);
grabbable.setWhoCanGrab([player]);
I have this simple piece of code but I get the error mentioned in the title. grabbable is valid and it logs the interactionMode and name, but can't setWhoCanGrab
Please help
Have you set the object's dropdown to script assignee?