If I’m understanding what you mean, you don’t really need actions for that. You would use a condition inside curly braces next to each function or set of points for a polygon that correlates to your variable. Here’s an example: Desmos | Graphing Calculator