Ever wanted to make a Health Bar that can only go from 0 to 100 and can't go outside of that range? Then this project is for you! This project shows an easy way to enforce the ranges of numerical variables using only ONE set variable block. In programming, this is comparable to the "clamp" statement. It enforces the range of a number (an integer or float value) within a specified threshold. HOW THIS WORKS: TL;DR: We use mathematical "greater than" and "less than" operators as logic gates, since their output (true / false) is treated as an integer (1 and 0) to control what variable to assign value to "Health" with. In a nutshell: - If "Health" is below MAX VALUE, use its current value. - If "Health" is above MAX VALUE, return MAX VALUE. In more detail: We use mathematical operators to determine a checking condition, <(Health) < (MAX VALUE)>. This statement will return true (1) if Health is below or equal to MAX VALUE, and false (0) if Health is above it. We can use the output of this boolean check to act as a logic gate. For example, if we set Health to: <(Health) * <(Health) < (MAX VALUE)>> This will return the value of "Health" ONLY IF "Health" is below or equal to MAX VALUE. If "Health" is ABOVE MAX VALUE, it will return 0. If we then add: <(MAX VALUE) * <(Health) > (MAX VALUE)>> It will add the value of "MAX VALUE" onto the result if "Health" is above it, meaning if "Health" exceeds "MAX VALUE", it will simply return the value of "MAX VALUE". Hope this makes sense! If you're still not getting it, try studying procedural programming. Python is a great beginner's language.