Need a little help here on coding , i try to do a node that can signal out true on certain range of number . So the node function was , i set the range or length in 1 to 5 , so if the value numbers input was between 1 - 5 , signal out 'true' . And if the value number input was outside the range ,something like below 0 or above 6 , it signal out 'false' . Maybe false no need to output it ... This is a 2D Math Shopping Game
try this using a single input as a total Code: function signal(name, value){ if(value >= 1 && value <= 5) this.emitSignal("Out", true); else this.emitSignal("Out", false); }