how can i take away your control?

doan sephim hello. i was just wandering how i can take control away from the player for a moment. ide use this to make it better when climbing things...its kinda dumb looking in i can make them climb left and right...
and just in case its not the same would i give them back control?
AGI1122 ProgramControl() takes away their control.
PlayerControl() gives control back to them.
doan sephim wow! thats super simple! thanks alot chris!