Incari Studio
2.0
2.0
  • Incari Studio Documentation
  • Getting Started
    • Requirements
    • Installation
  • Interface
    • Logic Editor
    • Project Outliner
    • Global Preferences
    • Attribute Editor
    • Material Editor
  • Objects
    • Project Objects
      • Scene
      • Screen
    • Scene Objects
      • Camera
      • Group
      • Lights
      • List
      • Mesh
      • Sprites
        • Sprite
        • Text
  • Toolbox
    • Array
      • Array Value
      • Clear Array
      • Concat Arrays
      • Get Array Element
      • Length of Array
      • Pop Array Element
      • Push Array Element
      • Set Array Element
    • DateTime
      • Date Time Formatter
      • Now (UTC)
      • System Time
      • Timezone Value
    • Events
      • Keyboard
        • On Key Press
        • On Key Release
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
    • Math
      • Add
      • Boolean
        • AND
        • Negate
        • OR
      • Ceil
      • Clamp
      • Divide
      • Floor
      • Maximum
      • Minimum
      • Modulo
      • Multiply
      • Power
      • Range Mapper
      • Root
      • Subtract
    • Incari
      • List
        • Generate List
        • Next List Entry
        • Previous List Entry
        • Select List Entry
        • Set Active
        • Set Current Index
      • Object
        • Get Alpha
        • Set Alpha
        • Get Scale
        • Set Scale
        • Get Rotation
        • Set Rotation
        • Get Position
        • Set Position
        • Get Visibility
        • Set Visibility
        • Set Tint
        • Get Tint
        • Get Material
        • Set Material
        • Set Text
    • Utilities
      • Group
Powered by GitBook
On this page
  • Overview
  • Attributes
  • Object
  • Input
  • Inputs
  • Outputs
  • See Also
  • External Links

Was this helpful?

  1. Toolbox
  2. Incari
  3. List

Set Current Index

PreviousSet ActiveNextObject

Last updated 3 years ago

Was this helpful?

Overview

Set Current Index selects an entry item by using its index. It accepts a List Object and an Index value and selects an entry item corresponding to the Index value.

The index count starts from zero, which means that the Index of the last entry item of the List Object is equal to the total number of entry items minus one (sum of entries - 1). This follows from array-based indexing whereby the index of the first entry is 0.

Attributes

Object

Attribute
Type
Description

Object

ObjectID

This represents the List Object from which an entry item can be selected by its Index if one is not provided in the Object ID Socket.

Input

Attribute
Type
Description

Index

Int

The default Index value if no value is provided to the input Index Socket.

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

A standard Input Pulse, to trigger the execution of the Node.

Object ID

ObjectID

The List Object from which an entry item can be selected by using its index.

Index

Int

The index of the entry item you wish to select.

Outputs

Output
Type
Description

Pulse Output (►)

Pulse

A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

See Also

External Links

List
Generate List
Array Indexing
Index Mapping
The Set Current Index Node.