exp

abstract var exp: Float

The player's experience progress towards the next level.

Valid range is 0.0f to 1.0f (where 1.0f represents 100% progress). When set to 1.0f or above, the player will level up.

Example:

player.edit {
exp = 0.5f // 50% progress to next level
}