Skip to main content
input_object

The input for moving a single object to a specific position in a set.

Provide this input only for objects whose position actually changed; do not send inputs for the entire set.

  • id: The ID (GID) of the object to move.
  • newPosition: The zero-based index of the object's position within the set at the time this move is applied.

Moves are applied sequentially, so newPosition for each move is evaluated after all prior moves in the same list. If newPosition is greater than or equal to the number of objects, the object is moved to the end of the set. Values do not have to be unique. Objects not included in the move list keep their relative order, aside from any displacement caused by the moves.

•ID!
non-null

The ID of the object to be moved.

•UnsignedInt64!
non-null

Zero-based index of the object's position at the time this move is applied. If the value is >= the number of objects, the object is placed at the end.


Was this section helpful?