ai88 1 Posted December 20, 2020 Hi, I have a quick question. How can i write the expression that is below based on y position? Thanks. i@strength = fit01(rand(@cluster), ch("min_cluster_strength"), ch("max_cluster_strength")); Share this post Link to post Share on other sites
animatrix 210 Posted December 20, 2020 Hi, You probably want to use relative bbox Y: i@strength = floor ( fit01( relbbox ( @P ).y, ch("min_cluster_strength"), ch("max_cluster_strength") ) ); 2 Share this post Link to post Share on other sites
ai88 1 Posted December 20, 2020 12 hours ago, animatrix said: Hi, You probably want to use relative bbox Y: i@strength = floor ( fit01( relbbox ( @P ).y, ch("min_cluster_strength"), ch("max_cluster_strength") ) ); Thanks Yunus I will try it. 1 Share this post Link to post Share on other sites