By default, the center of the menu is at Y = 0, and the bounds are ☑.25. Positive direction is towards the top of the screen. The width of the clickable area of the button in screen units. The height of the clickable area of the button in screen units. The color of the button when the cursor is not hovering over it, or when it is non-clickable. The color of the button when the cursor is hovering over it, indicating it can be clicked. If set to true, the script will force the button to use the alternate, thinner font for In-World Texts. Note that if you have certain characters in the label text, the button may render as the alternate font even with this value set to false. If set to false, the button will not be clickable and the hover color will not be used. If set to false, the button will not be rendered. Useful for hiding buttons to save text budget without destroying the button entirely. ![]() In order to assist with sizing click areas, I recommend turning on Debug Mode in the Workshop Settings menu during development.Īs of version 1.1, creating a button works similarly to (for example) Create Effect or Create HUD Text. To create a button at any time during your script, do the following: Buttons persist between openings of the menu, and exist in a per-player context.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |