Haha… Sorry for the small image.
Yes, in my code, “Player” is the player and “AllPlayer” is a group of all the skins of the player. And I already turn on the debug of collision mask, it is in the center as per the small picture (lol). The collision mask of the player does not touch the collision mask of the platform.
My problem is the size of the player is not constant throughout the game. Upon collision with a special platform, I want the player size to become smaller. Like the SuperMario game, it becomes bigger when taking the mushroom and becoming smaller when hit by the enemy.
Instead of using another hitbox, is there a way to change the collision box to fit the smaller size as well during the game?