Pan =  sound .pan .get  (  Channel  )  
                                
Description :

This instruction returns the panning value for a given sound channel. The panning value indicates the position (between left and right in the sound space) from which the sound channel is played.

Parameters :

  • CHANNEL_1
    CHANNEL_2
    CHANNEL_3
    CHANNEL_4
    CHANNEL_5
    CHANNEL_6
    CHANNEL_7
    CHANNEL_8
    CHANNEL_9
    CHANNEL_10
    CHANNEL_11
    CHANNEL_12
    CHANNEL_13
    CHANNEL_14
    CHANNEL_15

Return Value :

  • Panning. Valid in the range [0, 255].
    SOUND_PAN_LEFT (or 0)
    SOUND_PAN_RIGHT (or 255)
    SOUND_PAN_MIDDLE

Examples :