Sound | CraytaKit
Skip to main content

Sound

Properties

Property NameReturn TypeDescriptionTags
activebooleanSet whether the sound is playing or notRead-Write
soundSoundAssetSet the SoundAsset that this entity playsRead-Write
volumenumberSet the volume of the sound (0 = Silent, 1 = Full volume)Read-Write
pitchnumberSet the pitch of the sound (1 = Default pitch, 0.125 = 8 times slower, 2 = 2 times faster)Read-Write

Examples

© 2021 CraytaKit