Co-authored-by: Dennis Ploeger <develop@dieploegers.de> Co-authored-by: dploeger <dploeger@users.noreply.github.com>
26 lines
634 B
Markdown
26 lines
634 B
Markdown
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
|
|
|
# SlideBlockCommand
|
|
|
|
**Extends:** [SlideCommand](../SlideCommand) < [ESCBaseCommand](../ESCBaseCommand) < [Node](../Node)
|
|
|
|
## Description
|
|
|
|
`slide_block object1 object2 [speed]`
|
|
|
|
Moves object1 towards the position of object2, at the speed determined by
|
|
object1's "speed" property, unless overridden. This command is blocking.
|
|
It does not respect the room's navigation polygons, so you can move items
|
|
where the player can't walk.
|
|
|
|
@ESC
|
|
|
|
## Method Descriptions
|
|
|
|
### run
|
|
|
|
```gdscript
|
|
func run(command_params: Array) -> var
|
|
```
|
|
|
|
Run the command |