Note that these only work for studio plugins they will not work for other Mouse objects. You can use these with GUI events like GuiObject/MouseEnter|MouseEnter, GuiObject/MouseLeave|MouseLeave, and GuiButton/MouseButton1Down|MouseButton1Down to provide a consistent studio experience when interacting with certain kinds of GUI components. When using a PluginMouse retrieved from Plugin/GetMouse, you can use the following icons similar to your system’s default cursors, such as hands, arrows, I-beams, etc. The default mouse image is 64圆4 pixels, with the mouse taking up 17x24 pixels of space.The center of the image is where mouse inputs are issued.The dimensions of the image used determines the size of the cursor.The following guidelines may prove useful when creating your own mouse cursors: For more information on how to change the mouse’s icon, please see Articles/Mouse Icon Appearance|this tutorial. To hide the cursor entirely, do not use a transparent image – instead, set UserInputService/MouseIconEnabled to false. While the cursor hovers over a GuiButton, this property is temporarily ignored. Icon is a property that determines the image used as the pointer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |