Why would you want to use cheats for that? I don't think there is one anyway(couldn't find it anywhere). Also, why would you make two separate questions for a single issue? Here's my previous answer just in case:
http://gameshampoo.com/28436/why-is-nobody-moving-in-terraria#a28453