This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (December 2025)
When This Sprite Touches a ()
when this sprite touches [ v]::extension hat
Category Face Sensing
Type Hat
Introduced in 3.0

The when this sprite touches a () block is a hat block and a Face Sensing block. The block activates when Face Sensing detects that the sprite has come into contact with the selected body part. This can happen either when the body part moves, or when the sprite moves. The possible choices are:

  • nose
  • mouth
  • left eye
  • right eye
  • between eyes
  • left ear
  • right ear
  • top of head

Example Uses

  • Starting further action after user input
when green flag clicked
go to x: (0) y: (0)
say [Move your nose to the middle to begin]

when this sprite touches a [ nose v]:: extension hat 
forever
go to [nose v] :: extension
say [Wheeee!]
end 

This script sends the sprite to the nose, saying "Wheeee!".

  • Waiting until contact to go further.
when green flag clicked
say [Try and find me!] for (1) seconds
go to [random position v]
set [ghost v] effect to (100)

when this sprite touches a [top of head v] :: extension hat
clear graphic effects
say [Yay!]
stop [all v]

The sprite becomes invisible. When the top of one's head finds the sprite, the sprite becomes visible and stops everything.

  • Collision with face elements
when green flag clicked
go to x: (-240) y: (0)
say [Here I go! Keep your nose away from me!]
glide (5) secs to x: (240) y: (0)

when this sprite touches a [nose v] :: extension hat
say [You lose!]
stop [all v]

The sprite glides to a certain position. When the nose touches the sprite, game over.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.