viewport_set_size
Set the dimensions of a SubViewport in a Godot scene to specified width and height.
Instructions
Set the size of a SubViewport.
Category: Viewport
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) viewport_path: Path to the viewport node width: New width in pixels height: New height in pixels
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| viewport_path | Yes | ||
| width | Yes | ||
| height | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |