2D screen Event trigger

I want to prompt a 2D screen every time “car_1” collides with “Trigger”. How to do it? Which project to refer?

Hi @mortal_phoenix,

So, for setting up the trigger and listening to an event when an entity enters it, refer to this:


Then it’s only a matter of enabling your 2D screen entity to get it to show. That can be done in many ways, one simple way is to find the entity by its name and enable it:

const screenEntity = this.app.root.findByName('My Screen');
screenEntity.enabled = true;