I’m have some troubles with the mouseDown, mouseDrag, etc… callbacks on a component.
The component Bounds are defines in the MainComponent.
The component is a rectangle and have a children.
I want to move the children in this component with the mouseDrag callback, and updating the coordinates of the children to use them after.
So the mouse callbacks works but only along the top line of the rectangle (along the x axis at y=0 of the rectangle) and I don’t understand why…
GUI.h (2.4 KB)