character axes constrain trigger

Hi guys

i m making a side scroling game using the template, i believe in the template the character is locked on the x axe using the constrain to plane option, i want to trigger that option off when the character enter a specific zone

how to do that?

please keep in min that im new to unreal and im not a developer, just a 3d artist