cocos_set_node_scale
Adjust the scale of a node in Cocos Creator scenes by specifying X, Y, and Z scaling factors to resize game objects programmatically.
Instructions
Set a node's local scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| sx | Yes | ||
| sy | Yes | ||
| sz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |