You can use a volume that, once overlapping the actor in question, sets the bool to true. Or you can skip the bool and once the actors overlap have it immediately close the gate, thereby preventing the tick from continuing movement. That's how I sorted it. Cheers.