Keyboard input, tag to make a block static and dyamic

Duplicate

https://forum.playcanvas.com/t/solved-how-to-change-rigidbody-type-with-key-press/