Moving the ego without intervention

Moogle789 Hello! I've got a little problem.

By using

(send gEgo:setMotion(MoveTo 100 193))

i let the ego walk to the specified point, but the player is still able to press a key while the ego is walking and control it.

how can i let the ego walk to a specified point and "pause" the rest of the game (controls) while it does so?

thanx! *moogle789*
Eigen Put

ProgramControl() before the (send gEgo:setMotiion... to prevent player from walking on it's own. And after it has reached the point, use PlayerControl()