Page 1 of 1

[2.1.8] Camera LuaGuiElement zoom limited to 3.0

Posted: Sun Jun 28, 2026 3:24 pm
by Osmo
Reproduction steps:

Code: Select all

/c cam = game.player.gui.screen.add{type = "camera", position = {0,0}}
/c cam.style.size = 300
/c cam.zoom = 3
/c cam.zoom = 5
Expected result: camera zoom will be set to 3.0 and then 5.0.
Actual result: camera zoom is set to 3.0, but the next write makes no observable difference.
Of note is that player zoom limits can be set much higher than 3.0, and allow-increased-zoom F4 option also makes camera zoom limits increased.