Used for funkin.game.HealthIcon.sprTrackerAlignment
.
This determines the position of the icon in relation to the sprite tracker.
Variables
View in GitHub
inlineread onlyCENTER:TrackerAlignment = 1
Center of the sprite tracker
Mathematically: tracker.x + (tracker.width - icon.width) / 2
View in GitHub
inlineread onlyLEFT:TrackerAlignment = 0
Left of the sprite tracker
Mathematically: tracker.x - icon.width
View in GitHub
inlineread onlyRIGHT:TrackerAlignment = 2
Right of the sprite tracker
Mathematically: tracker.x + tracker.width