# Sensing Blocks > Learn how Sensing Blocks work in Scratch, when to combine them with other categories, and how to test them in a 3-minute experiment. Practical Scratch guide to Sensing Blocks: clear explanations, hands-on practice steps, and beginner tips. ## What these blocks do Sensing blocks detect collisions, key states, mouse position, user text input ("ask and wait"), distances, and the built-in timer. - Test the block alone first before putting it inside a big game. - Change one input number at a time and compare what changes. - Always add reset blocks under "When green flag clicked". ## Hands-on mini experiment Prefer "touching [Sprite]?" over "touching color?" whenever possible—it is faster and more reliable across screens. ## Related Scratch guides Learn how Sensing Blocks work in Scratch, when to combine them with other categories, and how to test them in a 3-minute experiment. - [Block Dictionary](/en/dictionary/): Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables. - [Programming Concepts](/en/concepts/): Sequence, loops, conditionals, variables, and coordinates. ## Individual sensing block guides (19) Open any individual block below for clear explanations, working Scratch examples, and common tips. - [touching (mouse-pointer / edge / Sprite)? — Scratch Block Guide](/en/dictionary/sensing/touching/): Boolean block returning true if this sprite’s visible pixels overlap the target. - [touching color (#)? — Scratch Block Guide](/en/dictionary/sensing/touching-color/): Returns true if any pixel of this sprite overlaps the exact picked stage color. - [color (#) is touching (#)? — Scratch Block Guide](/en/dictionary/sensing/color-touching-color/): Checks if a specific color on this sprite touches another color on the stage. - [distance to (mouse-pointer / Sprite) — Scratch Block Guide](/en/dictionary/sensing/distance-to/): Returns the straight-line pixel distance between this sprite’s center and the target. - [ask (What’s your name?) and wait — Scratch Block Guide](/en/dictionary/sensing/ask-answer/): Shows a text input box at the bottom of the stage and pauses until the user presses Enter. - [answer — Scratch Block Guide](/en/dictionary/sensing/answer/): Reporter holding the most recent text submitted to "ask and wait". - [key (space) pressed? — Scratch Block Guide](/en/dictionary/sensing/key-pressed/): Boolean block that is true for the entire time the chosen key is held down. - [mouse down? — Scratch Block Guide](/en/dictionary/sensing/mouse-down/): Returns true while the primary mouse button is held or a touchscreen is pressed. - [mouse x — Scratch Block Guide](/en/dictionary/sensing/mouse-x/): Returns the mouse cursor’s current horizontal coordinate (-240 to 240). - [mouse y — Scratch Block Guide](/en/dictionary/sensing/mouse-y/): Returns the mouse cursor’s current vertical coordinate (-180 to 180). - [set drag mode (draggable / not draggable) — Scratch Block Guide](/en/dictionary/sensing/set-drag-mode/): Allows or prevents players from dragging a sprite directly with the mouse in full-screen play mode. - [loudness — Scratch Block Guide](/en/dictionary/sensing/loudness/): Returns microphone sound level from 0 (quiet) to 100 (loud). - [Microphone Threshold Check (Loudness > 30) — Scratch Block Guide](/en/dictionary/sensing/loud/): Detect claps or shouts cleanly by comparing "loudness" against a threshold like 30. - [timer — Scratch Block Guide](/en/dictionary/sensing/timer/): High-precision stopwatch in seconds that starts automatically when the project opens. - [reset timer — Scratch Block Guide](/en/dictionary/sensing/reset-timer/): Resets the built-in stopwatch back to 0.0 seconds. - [(x position) of (Sprite1) — Scratch Block Guide](/en/dictionary/sensing/sensing-of/): Reads another sprite’s coordinates, direction, costume, size, or local variable—or the Stage’s backdrop. - [current (year / month / date / hour / minute / second) — Scratch Block Guide](/en/dictionary/sensing/current-date/): Reads the user’s real-world local clock and calendar. - [days since 2000 — Scratch Block Guide](/en/dictionary/sensing/days-since-2000/): Returns the exact fractional number of days since January 1, 2000 (UTC) with millisecond precision. - [username — Scratch Block Guide](/en/dictionary/sensing/username/): Returns the signed-in Scratcher’s username, or an empty string if playing signed out. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/sensing/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)