How to disable and enable UnityEditor Handles from receiving mouse events?

Hi,

I have lots of Handles.FreeMoveHandles.

Currently I display all handles and then record all there ids. (I only know how to record the id for a specific handle after its been moved)
When I don’t want handles to display I set there color to Color.clear.

but with this method the hidden handles are still present and can be clicked on and moved.

The problem is if I try only drawing specific handles, then there ids change as I add and remove handles from the scene…

Is there a way to disable specific handles from receiving mouse events
(without having to clear all the recorded ids whenever I add and remove handles)

Cheers,
Nick

hey nick why not use that head of yours!!! silly…

float zero = isActive ? 1f : 0f;

Handles.FreeMoveHandle(position, Quaternion.identity,
        HandleUtility.GetHandleSize(position) * zero,
        Vector3.zero, Handles.CircleCap);