assert_node_state
Assert that a node property matches an expected value using comparison operators. Useful for runtime validation in Godot.
Instructions
Assert that a node property matches an expected value
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Node path in the running game | |
| expected | No | Expected value | |
| operator | No | Comparison operator: ==, !=, >, <, >=, <=, contains (default: '==') | == |
| property | Yes | Property name to check |