XRHitTestAsync

Famille: Platform · Une forme

Ce que fait la commande

XRHitTestAsync prend x (un flottant) et y (un flottant), et rend un entier.

Syntaxe

XRHitTestAsync(x float, y float) → integer

Paramètres

NomType
xfloat
yfloat

Chaque forme rend

integer

Exemple · engendré

DO  Print(XRHitTestAsync(100.0, 120.0))  Sync()LOOP

XRHitTestAsync est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.

Commandes voisines

111 commandes dans Platform