Hi i’m trying to get the size of an image of gui node, but the returned size is always wrong
local node = gui.get_node(node_id)
gui.set_texture(node, 'sometexture')
gui.play_flipbook(node, 'someimage')
gui.set_size_mode(image_node, gui.SIZE_MODE_AUTO)
local size = gui.get_size(node)
Somehow gui.get_size always returns a vmath.vector3(512,512,0) or vmath.vector3(512,256,0)
Just wondering is there an ideal way to get the image size of a gui node? I want to make the image fit the parent node
Thank you for the help