Yes. All entities are mouse-detectable unless their UNTOUCHABLE flag is set. However, you can do this by assigning a simple action

action set_untouchable()
{
my.UNTOUCHABLE = ON;
my.DYNAMIC = OFF;
}