Table of Contents

istouching()

Function Definition: istouching(object_name = "_edge_")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
object_namestringThe name of the object or sprite."_edge_", "_mouse_" or sprite name"_edge_"

Description

The function checks if its sprite is touching the mouse-pointer, edge, or another sprite. If the sprite is touching the selected object, the block returns true; if it is not, it returns false.

Example

There are no examples documented for this article.