ReferenceScript nodesUtilities › List
Last Index
The index of the last item (-1 for an empty list).
ƒLast Index
Target ListResult
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Target Listlist | list | – | – |
Outputs
| Pin | Type |
|---|---|
Resultindex | int |
In a graph
◆On Scene Start
ƒLast Index
Target ListResult
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.