Freeze entity?

Simple question, how did I freeze an entity in LUA. I can’t find it on the wiki, it’s probably something simple.

Any ideas?

**[Entity.SetMoveType

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Entity.SetMoveType)**, MOVETYPE_NONE

Thanks

Or you can do, ent:GetPhysicsObject():EnableMotion(false). So that you can animate it at a later time.