Godot Version
v4.6.2.stable.official [71f334935] - “CachyOS” KDE Plasma Linux x86_64
Question
Hi,
What is the opposite of:
“RenderingServer.canvas_item_set_transform(Sprites.ci_rid[index],”
We need to get the sprite’s position X & Y.
Thanks!
v4.6.2.stable.official [71f334935] - “CachyOS” KDE Plasma Linux x86_64
Hi,
What is the opposite of:
“RenderingServer.canvas_item_set_transform(Sprites.ci_rid[index],”
We need to get the sprite’s position X & Y.
Thanks!
Ask whoever called canvas_item_set_transform() previously.
In other words, it’s client (your) code responsibility to keep track of that transform on the cpu side.