Files
Basalt/docs/objects/Frame/setMonitorScale.md
2022-09-08 20:36:36 +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")