Hello,
I have a gameobject for cursor and I move it when cursor moves. I cannot set my gameobjects position to cursors position because I sometimes have to lock the cursor. So I use
self.cursor_pos.x = self.cursor_pos.x + action.dx
self.cursor_pos.y = self.cursor_pos.y + action.dy
When cursor is on the left edge of the screen, since it can’t move left anymore, action.dx becomes 0. How can I capture the mouse drag in this situtation?