set_is_static
Description:
Notifies the item that it is static.
Static items do not move or change size when the canvas is scrolled or the scale changes.
Container items such as CanvasGroup should call this function when children are added, to notify children whether they are static or not. Containers should also pass on any changes in their own status to children.
Parameters:
this |
an item. |
is_static |
if the item is static. |