2.5 game engine constraints

Can anyone tell me how to use constraints in the game engine? i know that you must identify the constraints in the logic window. But how?