[Solved]How to print frame size?
Posted: Tue Jan 15, 2019 6:51 pm
I created a frame:
and I want to read it width:
but I get the error that "LuaStyle doesn't contain key width".
Am I doing something wrong, or is it just impossible?
Code: Select all
local frame = player.gui.center.add { type = "frame", name = "frame",direction="horizontal"}
frame.style.width = 800
frame.style.height = 500Am I doing something wrong, or is it just impossible?