# Custom Behaviors

**URL:** <https://community.flowlab.io/t/custom-behaviors/47352>\
**Category:** Feature Requests\
**Created:** [August 13, 2026, 2:19am UTC](https://community.flowlab.io/t/custom-behaviors/47352 "2026-08-13T02:19:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![4804172224](https://community.flowlab.io/letter_avatar_proxy/v4/letter/4/3e96dc/32.png) [@4804172224](https://community.flowlab.io/u/4804172224)\
**Post date:** [August 13, 2026, 2:19am UTC](https://community.flowlab.io/t/custom-behaviors/47352/1 "2026-08-13T02:19:11Z")

</div>

**A few ideas for custom behaviors:**

- Adding ToNumber

- Adding and for if statements, either using the word and or &&  
if (num1 == 4 && num2 == 0) {  
setOut(1);  
}

- Adding or for if statements, either using the word or, or ||  
if (num1 == 4 || num2 == 0) {  
setOut(1);  
}

---

<div class="post-metadata">

**Author:** ![JR01](https://community.flowlab.io/user_avatar/community.flowlab.io/jr01/32/71701_2.png) [@JR01](https://community.flowlab.io/u/JR01)\
**Post date:** [August 13, 2026, 4:16am UTC](https://community.flowlab.io/t/custom-behaviors/47352/2 "2026-08-13T04:16:08Z")

</div>

Custom behavior uses [Haxe](https://haxe.org/), so you can already do everything your asking for.

1. Std.parseFloat( ) - Converts text to float
2. Those should work as you written them, && and || should work.
3. You can also do conditional if statements, such as:  
`setOut(num==4 && num2==0? 1:0)`

---

<div class="post-metadata">

**Author:** ![4804172224](https://community.flowlab.io/letter_avatar_proxy/v4/letter/4/3e96dc/32.png) [@4804172224](https://community.flowlab.io/u/4804172224)\
**Post date:** [August 15, 2026, 9:06am UTC](https://community.flowlab.io/t/custom-behaviors/47352/3 "2026-08-15T09:06:13Z")

</div>

Oh ok, I was assuming you could only really do the things shown in the How does this work thing, thank you for telling me that.
