Files
Basalt/docs/docs1_6/objects/Frame/setMonitorScale.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

422 B

setMonitorScale

Changes the scale on the the monitor which the frame is attached to

Parameters:

  1. number A number from 0.5 to 5

Returns:

  1. frame The frame being used

Usage:

  • Creates a new base frame, sets the frame as a monitor frame and changes the monitor scale
local myFrame = basalt.createFrame()setMonitor("left"):setMonitorScale(2)
myFrame:addLabel("Monitor scale is bigger")