window api, API reference (Window) , it seems like only return width.
how to get height with this api?
-sorry about my poor english.
window api, API reference (Window) , it seems like only return width.
how to get height with this api?
-sorry about my poor english.
![]()
![]()
in my opinion, it should return table not number
window.get_size() returns two numbers for the width and height:
local width, height = window.get_size()
print(width, height)
wow.. its very elemental syntax mistake..
i am familiar python but lua, i didnt recognize that mistake.
super thanks!