Skip to main content

onGenderChange

This event is triggered when a player changes its gender.

Parameters

NameTypeDescription
genderCharacterGenderThe new gender of the character

Example

engine.localPlayer.events.on('onGenderChange', gender => {
console.log('new gender', gender);
});

Available on: Client