Operate with multiple gumballs programmatically to control user input

Hi there,

I am experimenting with gumballs.
My aim is to enable the user to transform items in specific directions only.

So far I am able to establish the gumballs using this input:

Summary

rhinocommon/examples/cs/ex_gumball.cs at master · mcneel/rhinocommon · GitHub

I also read a lot here:

Summary

How to create a custom Gumball? - #7 by farouk.serragedine

The problem is, that I establish a conduit, but I am not able to acutally move the gumball.
So far I am missing the part where can start to understand how this works. I understand that in the example above the transform command takes over the transformation and input component.
But I’d rather make this more like the gumball that rhino has. I want to activate/deactivate it and then I want to have all the options, to enable a user to move (with some kind of control) and then end it.

Thanks,
T.