Door trigger and collider

Hi. I tried using the collider and trigger script to rotate a door example. any ideas on how I can make it stop after the first rotation event? even if the collider keeps on triggering the trigger? thank you in advance

https://playcanvas.com/editor/scene/1298166

Hi @Genesis_Miranda,

It looks like the project you linked to is private. Could you make it public, or post the code you’re using for review?