Parameters and types:
Pitch: numberPitch adjustment
Return value and type:
The main function of this method is to play the specified sound effect at the specified position.
The specific use cases are as follows:
--Play music 10713 at the position of height 7 (0,0)
--The first parameter is a table composed of the coordinates of the music being played
--The second parameter 10713 is the sound effect id played, which can be viewed in the "Sound Effect Table Data" of "Mini World ID Query"
--The last three parameters are: volume, pitch, whether to play in a loop
World:playSoundEffectOnPos({x=0,y=7,z=0},10713,100,1,false)
--Display in the chat box
Chat:sendSystemMsg("Music is playing at the position of height 7 (0,0)")