How to add glue

How do I add a substance that stops the character from moving.

Use a switch to turn off whatever is making him move.

Thanks