In-Between Bundle

It’s actually really easy to do this but just in case I made a bundle where if a number goes into the it and is one of the numbers in between two chosen numbers then it will show a positive output that you can set to do whatever you want. It even has a pass and fail thing.

image

Bundle
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":3,"outputCount":2,"name":"In-Between ","behaviorType":"logic.NodeGroup","x":-360,"y":-64,"group":"444714f730c2d04a","id":"4ab4025a9463df46","isMenuItem":true},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":-128,"group":"4ab4025a9463df46","id":"4ab4025bf838a84c","portId":"4ab4025a9463df46i0","tag":"In","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":180,"y":-112,"group":"4ab4025a9463df46","id":"4ab4025b1ccfba48","portId":"4ab4025a9463df46o0","tag":"Pass","dataType":2},{"gateVal":2,"mode":"greater than or equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-180,"y":-144,"group":"4ab4025a9463df46","id":"4ab4025ca21b0e48"},{"gateVal":5,"mode":"less than or equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":-180,"y":16,"group":"4ab4025a9463df46","id":"4ab4025cb0340a4a"},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":0,"y":-128,"group":"4ab4025a9463df46","id":"4ab4025c3beeef41","gateType":"AND"},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":-64,"group":"4ab4025a9463df46","id":"4ab4025c6ddc7f48","portId":"4ab4025a9463df46i1","tag":"From","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-450,"y":16,"group":"4ab4025a9463df46","id":"4ab4025c2f16444a","portId":"4ab4025a9463df46i2","tag":"To","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":0,"y":16,"group":"4ab4025a9463df46","id":"4ab4025c95cfcc4d","portId":"4ab4025a9463df46o1","tag":"Fail","dataType":2}],"links":[{"input_id":"4ab4025ca21b0e48i1","output_id":"4ab4025bf838a84co0"},{"input_id":"4ab4025cb0340a4ai1","output_id":"4ab4025bf838a84co0"},{"input_id":"4ab4025c3beeef41i0","output_id":"4ab4025ca21b0e48o0"},{"input_id":"4ab4025c95cfcc4di0","output_id":"4ab4025ca21b0e48o1"},{"input_id":"4ab4025c3beeef41i1","output_id":"4ab4025cb0340a4ao0"},{"input_id":"4ab4025c95cfcc4di0","output_id":"4ab4025cb0340a4ao1"},{"input_id":"4ab4025b1ccfba48i0","output_id":"4ab4025c3beeef41o0"},{"input_id":"4ab4025ca21b0e48i0","output_id":"4ab4025c6ddc7f48o0"},{"input_id":"4ab4025cb0340a4ai0","output_id":"4ab4025c2f16444ao0"}]}}}

Then again, anyone with enough braincells can do this pretty easily as it only needs 3 behaviors (excluding the input and outputs).

this is more commonly called a threshold, also i have a bundle for this too, the in input should be on the bottom

2 Likes

Oh thanks I never knew that.
I also didn’t know the “In” input should be at the bottom so that’s my fault.