combine blocks together
-
hi
can we combine blocks together?
i have 5 blocks that using 10 times in different parts of my code
so instead of having 50 blocks, can i combine 5 blocks and then use the "combined block" ?in that case instead of 50 blocks i have 5 blocks
is it possible in fxdreema?
-
@aliso Add a shared link to look at, this is likely possible but it depends on what each block has to do.
-
@jstap
imagine i have sth like this
https://fxdreema.com/shared/MCiXnN1Dit really does not matter what are the blocks
if there is a solution for combining the blocks love to know how its done -
No, not possible, not as you imagine at least. You can have such such group of blocks, give the top one a custom name (instead of the number), and run this top block with "Run blocks" from anywhere. However, no values are passed. It's like a function in any programming language, but without input arguments or a return value. There are Variables that you can use to pass values around, they are global, and this comes with its negatives.
-
@fxdreema
is it sth like this?
i just want to be sure