UltimateUIDocs
Archived upstream docs · Features depend on the installed plugin version; not all features have been verified.

UltimateUI guide

How to change Screen Settings

In this guide, you will learn how to change screen settings in UI menu

In every menu, you can add a screen section in which you define very useful things such as the screen height and width, and even the cursor size and speed.

To change this, you need to open the .yml file of your page and, at the very top under the name section, add a screen section. Below is an example screen section with settings.

ini
name: example_menu
screen:
  width: 1920
  height: 1080
  offsetX: 0
  offsetY: 14
  hitboxOffsetX: -2
  hitboxOffsetY: -17
  cursorLayer: 9900
  cursorSize: 10
  cursorSpeed: 1.0
  cursorUnicode: 

Width / Height Define the maximum screen width and height.

OffsetX / OffsetY Set the maximum edges the cursor can reach. Useful when your cursor uses a different texture.

Hitbox Offset Controls the offset applied to element hitboxes. Also useful for custom cursor textures.

CursorLayer Defines the rendering layer of the cursor. You can place elements above the cursor if needed.

CursorSize Sets the cursor size. Default recommended value: 10.

CursorSpeed Controls how fast the cursor moves across the screen.

CursorUnicode Defines the icon/texture used for the cursor.