CurrentHead

From Compost Wiki
Revision as of 23:16, 21 July 2026 by JeffBuchan (talk | contribs)
Jump to navigation Jump to search

CurrentHead#

Description

Returns the index of the current tool head


Notes

These IDs are not like TG or WP numbers. i.e...

  • You cannot have two heads in different configurations with the same ID.
  • They are assigned by MachineManager and are subject to change at MachineManager's discretion.

It is not recommended to use this command. Use the CurrentHead?('MyHeadName') Boolean instead, as seen below.


Stats

ID 226
Type Number
Class All Machines
Min Version 13.8.29


CurrentHead?('N')

Description

Returns true if the current head axis is named the same as the parameter


Stats

ID 686
Type Boolean
Class All Machines
Min Version 13.8.29