You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions min (returning the lowest of two values), max (returning the greatest of two values) and clamp (returning a value that is between two bounds, or the closest bound) should be included in the Options tab.
Block design
Motivation
Any time you need to restrict a value (eg. player cannot leave a certain area, or ensuring maximal and minimal speed) these blocks would massively simplify the code. This is a code snippet I have used many times:
And this is how it would look with the new clamp block: