How to lock some keyboard key?

I want to lock the delete key so the user cannot delete any prim inside the simulation environment.

Is it possible? Thank you.

Hi @CaioViturino. That might be heavy-handed. Just to offer a possible alternative first…what about referencing your simulation? They could still delete the reference, but any mesh prims they might select won’t be delete-able. In this example, if they selectsim (only selectable from the Stage view) they could delete the whole hierarchy, but selecting any child will not be delete-able.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.