alt.Voice.activationKey
Used to get the current JavaScript keycode for alt:V's internal voice activation.
Returns a number
.
Declaration
alt.Voice.activationKey: number
Usage
const result = alt.Voice.activationKey;
Real World Example
const result = alt.Voice.activationKey;
console.log(`Activation Key is: ${result}`);
These examples assume you have imported alt
from alt-client
.