Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## SelectionModeData :: struct

## Properties

- default
- sorted

border_color | :: Color |
count_button_color optional | :: Color |
chart_color optional | :: Color |
cursor_box_type | :: CursorBoxType |
mode | :: SelectionModeFlags |
entity_filters optional | :: array[EntityID] |
entity_type_filters optional | :: array[string] |
tile_filters optional | :: array[TileID] |
started_sound optional | :: Sound |
ended_sound optional | :: Sound |
play_ended_sound_when_nothing_selected optional | :: bool |
entity_filter_mode optional | :: `"whitelist"` or `"blacklist"` |
tile_filter_mode optional | :: `"whitelist"` or `"blacklist"` |

border_color | :: Color |
cursor_box_type | :: CursorBoxType |
mode | :: SelectionModeFlags |
chart_color optional | :: Color |
count_button_color optional | :: Color |
ended_sound optional | :: Sound |
entity_filter_mode optional | :: `"whitelist"` or `"blacklist"` |
entity_filters optional | :: array[EntityID] |
entity_type_filters optional | :: array[string] |
play_ended_sound_when_nothing_selected optional | :: bool |
started_sound optional | :: Sound |
tile_filter_mode optional | :: `"whitelist"` or `"blacklist"` |
tile_filters optional | :: array[TileID] |

## Properties

### border_color :: Color

### count_button_color :: Color optional

Default: Value of border_color

### chart_color :: Color optional

Default: Value of border_color

### cursor_box_type :: CursorBoxType

### mode :: SelectionModeFlags

### entity_filters :: array[EntityID] optional

### entity_type_filters :: array[string] optional

### tile_filters :: array[TileID] optional

### started_sound :: Sound optional

### ended_sound :: Sound optional

### play_ended_sound_when_nothing_selected :: bool optional

Default: `false`

### entity_filter_mode :: `"whitelist"` or `"blacklist"` optional

Default: `"whitelist"`

### tile_filter_mode :: `"whitelist"` or `"blacklist"` optional

Default: `"whitelist"`

Type used in

- BlueprintItemPrototype::select
- BlueprintItemPrototype::alt_select
- CopyPasteToolPrototype::select
- CopyPasteToolPrototype::alt_select
- DeconstructionItemPrototype::select
- DeconstructionItemPrototype::alt_select
- SelectionToolPrototype::select
- SelectionToolPrototype::alt_select
- SelectionToolPrototype::super_forced_select
- SelectionToolPrototype::reverse_select
- SelectionToolPrototype::alt_reverse_select
- UpgradeItemPrototype::select
- UpgradeItemPrototype::alt_select