Sprite:setAnchorPoint

From GiderosMobile
Revision as of 04:07, 21 March 2023 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2016.10<br/> '''Class:''' Sprite<br/> === Description === Sets x, y, z anchor position of '''Sprite''' in its relative coordinate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.10
Class: Sprite

Description

Sets x, y, z anchor position of Sprite in its relative coordinates.

Sprite:setAnchorPoint(anchorX,anchorY,anchorZ)

Parameters

anchorX: (number) anchor position in Sprite internal coordinates
anchorY: (number) anchor position in Sprite internal coordinates
anchorZ: (number) anchor position in Sprite internal coordinates optional