SFML community forums
Help => Graphics => Topic started by: ElectricRevolt on February 26, 2019, 06:41:38 am
-
I am trying to have the size of a sprite returned so that I can change the origin to center/center but I am not sure how to do this in SFML 2.5. I was told that getSize() was depricated in 1.6. Any idea how to achieve this? Thanks.
-
Use sprite.getLocalBounds().