How to center a character/sprite?

I made/edited a character sprite of a bookshelf to make a simple animation of some books falling from it - and I followed the math on how many pixels per tile and everything and it seemed like everything was right sheet-wise but...well as you can see in the picture it doesn't actually fit. I'm not sure where I went wrong, it's 2 tiles wide and 3 tiles tall and I used a calculator and everything so I'd like some advice on how to fix it. I tried making the sheet both !$ and plain $ too.
There's the same problem and solution. edited: (<- click the link)
You could also always just split it between two tiles.
???
I don't know what that means sorry.
You could also always just split it between two tiles.
Maybe, I'll try that although I might have to resize the sheet if I do...
Thanks.
I don't know what that means sorry.
It means someone else had the same problem, it was explained to them, and fizzly even helped make a working version.

It was even someone else with a bookshelf. Did you click the link?
Make it 3 tiles wide and move the bookshelf over all the way to the right of the cell leaving a "blank" (48pixels) tile to the left. Character sprites' x-axis are centered on the event. Hope that helps, it's confusing at first.
It means someone else had the same problem, it was explained to them, and fizzly even helped make a working version.

It was even someone else with a bookshelf. Did you click the link?
There wasn't a link when I read and quoted fizzly - he even typed in "edited" to show he edited his post at some point, presumably sometime after the quote. (Edited: Oh, he edited it to make it apparent it was already a link - my bad, but when I read it I was unaware it was a link, I just saw the words and did not realize those words were a link. In my defense the only way to tell it's a link without hovering my mouse on it is to notice it's a slightly brighter white color [I'm using dark mode] sorry!)

I kept editing the sheet however and somehow managed to get everything in the right size and position, so thank you everyone for your time and patience.
No problem @The_Eerie_One, that's why I edited to make you see that's it's a link. Maybe it's not so obvious for new users that "light blue" are links 🙂
No problem @The_Eerie_One, that's why I edited to make you see that's it's a link. Maybe it's not so obvious for new users that "light blue" are links 🙂
When using this forum's night/dark mode option it's more of a "brighter slightly bolder white" versus normal text's less bright white in this mode - so easier to miss I think.
Be easier to spot if it was blue in night mode too, although maybe not as easy to make out the text itself.
the only way to tell it's a link without hovering my mouse on it is to notice it's a slightly brighter white color [I'm using dark mode]
Huh, that's weird. Maybe something to mention in Site Feedback.

Glad you got it working.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-center-a-character-sprite.167274/