Skip to content

Documentation / @sw-file-lib/xml / VehicleSchemas / MicroprocessorNodePosition

Interface: MicroprocessorNodePosition ​

ts
interface MicroprocessorNodePosition {
  x?: number;
  z?: number;
}

Defined in: packages/xml/src/schemas/vehicle.ts:39

Represents <position> element in Stormworks vehicle data.

XML location: <vehicle> / <bodies> / <body> / <components> / <c> / <o> / <microprocessor_definition> / <nodes> / <n> / <node> / <position>

Parent: MicroprocessorNode

If your function only reads the value and does not mutate it, prefer MicroprocessorNodePositionImmutable for its parameter type.

See ​

Properties ​

PropertyType

x?

number

z?

number