Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# AnimationElement - Prototype Docs

## AnimationElement :: struct

## Properties

- default
- sorted

render_layer optional | :: RenderLayer |
secondary_draw_order optional | :: int8 | Used to determine render order for sprites with the same `render_layer` in the same position. [...]
Used to determine render order for sprites with the same `render_layer` in the same position. [...]
apply_tint optional | :: boolean |
always_draw optional | :: boolean |
animation optional | :: Animation |

always_draw optional | :: boolean |
animation optional | :: Animation |
apply_tint optional | :: boolean |
render_layer optional | :: RenderLayer |
secondary_draw_order optional | :: int8 | Used to determine render order for sprites with the same `render_layer` in the same position. [...]
Used to determine render order for sprites with the same `render_layer` in the same position. [...]

## Properties

### render_layer :: RenderLayer optional

Default: `"object"`

### secondary_draw_order :: int8 optional

Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top.

### apply_tint :: boolean optional

Default: `false`

### always_draw :: boolean optional

Default: `true`

### animation :: Animation optional

Type used in

- BeaconGraphicsSet::animation_list