Skip to content

cu_world_set_tile en

mouse114514 edited this page Sep 12, 2026 · 1 revision

Set Block

Set Block

Overview

Places a block/tile (a full grid cell) at a world coordinate by writing directly into the block system.

⚠️ Note: colliders may not update until the next frame after SetBlock; a raycast right after may pass through. Follow the project's usual fixed-center placement practice.

Slots

Slot Type Description
X Number slot world X coordinate
Y Number slot world Y coordinate
TILE Number slot tile type ID (e.g. lightrock = 1)

Connections

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

Generated Code

Emits WorldGeneration.world.SetBlock(new Vector2Int(X, Y), TILE);.

Block ID: cu_world_set_tile


中文 | World Action Blocks | Block Reference

Clone this wiki locally