How to make a pseudo cursor on a widget, when your mouse moves, this cursor on the widget moves, for example, a little slower, without going beyond the frame, and when you press the LMB buttons under this cursor are used
I’m not quite sure what you mean. Could you please describe your needs in more detail?
The screen displays an image. When you click on the image with your mouse, the current mouse cursor will be hidden, and a pseudo mouse cursor within the screen (which is a small widget) will be displayed. To obtain the screen position of your mouse, you should use the getmouseposition function. With this function, you can determine the current location of the mouse within the player’s viewport and map it to the game screen. You need to implement boundary restrictions. When you press the exit key, the pseudo screen mouse cursor will be hidden, and the real mouse cursor will be displayed again.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.






