let’s get the point
I have game object with gui inside it . The real question it how the node to get position in same as game object. I already have the script on my game object but nothing happen.
function init(self)
msg.post("@render:", "use_fixed_fit_projection", { near = -1, far = 1 })
self.card_layout = gui.get_node("card_front","card_back")
local game_obj_pos = go.get_position("card")
gui.set_position(self.card_layout, game_obj_pos)
end
is there something wrong with my code?