Factorio Runtime DocsVersion 2.1.9

SelectionModeFlags - Runtime Docs

SelectionModeFlags :: dictionary[union → true] changed

A set of flags on a selection tool that define how entities and tiles are selected. Active flags are in the dictionary as true, while inactive flags aren't present at all.

Union members

"blueprint"

Excludes entities and tiles that can't be selected for blueprinting.

"deconstruct"

Excludes entities and tiles that can't be selected for deconstruction.

"cancel-deconstruct"

Excludes entities that can't be selected for deconstruction cancellation.

"items"

Selects items on the ground.

"trees"

Selects trees.

"buildable-type"

Selects entities which are considered a building, plus landmines.

"nothing"

Selects no entities or tiles, but is useful to select an area.

"items-to-place"

Selects entities and tiles that can be built by an item.

"any-entity"

Selects all entities.

"any-tile"

Selects all tiles.

"same-force"

Selects entities with the same force as the selecting player.

"not-same-force"

Selects entities with a different force as the selecting player.

"friend"

Selects entities from a friendly force.

"enemy"

Selects entities from an enemy force.

"upgrade"

Excludes entities that can't be selected for upgrading.

"cancel-upgrade"

Excludes entities that can't be selected for upgrade cancellation.

"downgrade"

Excludes entities that can't be selected for downgrading.

"entity-with-health"

Selects entities that are entities with health.

"is-military-target"

Selects entities that are military targets.

"entity-with-owner"

Selects entities that are entities with owner.

"avoid-rolling-stock"

Selects entities that are not rolling-stocks.

"avoid-vehicle"
"controllable"
"controllable-add"
"controllable-remove"
"entity-ghost"

Selects entities that are entity-ghosts.

"tile-ghost"

Selects entities that are tile-ghosts.

Fulltext search

Classes

Concepts

Events

Defines

Fulltext search for