Hi all,
I'm coming into a roadblock, and was looking for some help.
I have a block that needs to know the input types of its parent block. BUT specifically for the connection its on.
For example the input connections for "logic_if_mutating" block is twofold. FIrst there is the IF part, and second the DO part.
As such when looking at the checks there are 2 separate checks for type. (atleast for IF there is a check, if DO had one two we would have 2 arrays).
What i'd like to do is be able to identify to which connection my current block is connected to. Such that I can only loop through the first array to find all the possible types in the input.
At the moment my thinking is that i have to get the parent of the child. then somehow find the child through the connections on the parent. But i'm not finding it.
Is there a way to call get what i'm connected to from the childs perspective? Where it knows the specific connection its attatched to. Or how do identify the connection from the parent's point of view when given a block id of the child?
Best,
Jonty