Motion disabled?

I remember on some puzzle servers on hl2:DM. you could pick up a gravity gun and pick up an object. it then would not move when you dropped it. freeze in mid air. then you could pick it up again and move it. how would i do this.

Make it a prop_physics i think it is and go on the flags and there is a “Do not move” or something like that. Have a look

but you can pick it up with the phys gun. then drop it and it will float again?

USe as output:
Onphysgundrop
(entity’s name)
disablemotion

And use the enbale motion of phys grab with the flags.

You can use !self instead of entities name.