void togglePlatforms(bool triggered, InteractionTrigger trigger)
 {
     //check if all triggers are met
     isMoving = InverseTriggers ? InteractionTrigger.AllFalse(Triggers) :
                InteractionTrigger.AllTrue(Triggers);
 }