detection of shapes

by silver_star
See Code Download Embed
If you see inside, there is a block that detects if a point is within a square, circle, or horizontal or vertical stripe.
I have created an interface to draw the shape based on whether the position of the rendering sprite is within that shape.
Press H to toggle variables.
If render mode is automatic then it will render random shapes contiuously. If it is manual then when you tap/click somewhere on the screen it will render a shape of the size and type specified in the variables at that location.

Created December 2, 2020

Last updated December 15, 2020

Published December 2, 2020