Skip to content

cu_play_sound_at en

mouse114514 edited this page Sep 12, 2026 · 1 revision

Play Sound At Position

Play Sound At Position

Overview

Plays a game sound at a specific world coordinate (X, Y) with a configurable volume.

Slots

Slot Type Description
X Number slot world X coordinate (float)
Y Number slot world Y coordinate (float)
VOLUME Number slot volume (default 1.0)

Dropdown Options

Field Option Value
SOUND Use item useItem
SOUND Crunch eatCrunch
SOUND Eat flesh eatFlesh
SOUND Drink drink
SOUND Combine combine
SOUND Hit hit

Connections

Connection Type Description
Top Statement connects after a previous statement
Bottom Statement continues to the next statement

Generated Code

Emits Sound.Play("<sound>", new Vector3(Xf, Yf, 0f), twoDimensional: false, pitchShift: false, null, <volume>f);.

Block ID: cu_play_sound_at


中文 | Sound Blocks | Block Reference

Clone this wiki locally