Forcing enemies into a room

As title, when a door is opened by a player how do i force the enemies out of the room.
ive been playing around with thrust but seems to only do anything when they are getting killed
ive been playing around with thrust but seems to only do anything when they are getting killed