How to use to use if statment in a codeblock

Hello

How do i write this if statement in a codeblock and what node can I use instead of List.GetItemAtIndex so i dont get this error?

@Graesborg

syntax is

? :

what’s your condition?

Maybe something like that:

1 Like

Thanks it works.
Just to understand the code what does the “?” mean in the code?

@Graesborg see below

Please mark the post as solved

Tanks for the help :slight_smile:

@Graesborg not a problem.

You should not mark yours as a solution unless you figure it out yourself :wink:

1 Like

haha wrong button

use filter by boolean mask after the == node to remove away the warnings you are having now…

Thanks =)