can not see 2 buttons at one time
NodePath newButtonNP = window->get_aspect_2d().attach_new_node(newButton);
NodePath _newButtonNP = window->get_aspect_2d().attach_new_node(newButton);
_newButtonNP.set_scale(1,1,1);
_newButtonNP.set_pos(0.5,0,0);
newButtonNP.set_scale(1,1,1);
newButtonNP.set_pos(-0.5,0,0);
i can see only newButtonNP
if i do this
// newButtonNP.set_scale(1,1,1);
// newButtonNP.set_pos(-0.5,0,0);
i can see _newButtonNP