The function changes the volume of a sprite by the specified amount.
changevolume()
Function Definition: changevolume(volume = -10)
- Python Library: Sound
- Library Import: sprite = Sprite("Sprite-Name")
- Mode: Stage Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
volume | int | The value by which the volume needs to change. | Integer | -10 |
Description
Example
There are no examples documented for this article.