I am coding one of my first extension objects. It is to be coupled with an active object.
My questions are these:
1) How do you setup in edit mode the ability to select and store a reference to an active object?
2) Then, how to access this active object from my code to control its behavior? (movement, animation, etc.)