Set the interactivity of the object. Mutate the object.
Rectangle and Ellipse are not able to receive configs, only boolean i.e. set_interactive(rect, true); set_interactive(ellipse, false)
object to be set
interactive config to be used
game object itself
Set the interactivity of the object. Mutate the object.
Rectangle and Ellipse are not able to receive configs, only boolean i.e. set_interactive(rect, true); set_interactive(ellipse, false)