You set canEnter
to false when the player leaves the zone, but you never set it back to true, so the condition to set the transparency will never pass. You should just remove this variable as it serves no use.
1 Like