Codename LogoCodename Logo

funkin.game.TrackerAlignment

APIWikiTools

Used for funkin.game.HealthIcon.sprTrackerAlignment. This determines the position of the icon in relation to the sprite tracker.

Variables

View in GitHub

@:impl@:enuminlineread onlyCENTER:TrackerAlignment = 1

Center of the sprite tracker

Mathematically: tracker.x + (tracker.width - icon.width) / 2

View in GitHub

@:impl@:enuminlineread onlyLEFT:TrackerAlignment = 0

Left of the sprite tracker

Mathematically: tracker.x - icon.width

View in GitHub

@:impl@:enuminlineread onlyRIGHT:TrackerAlignment = 2

Right of the sprite tracker

Mathematically: tracker.x + tracker.width