# 100 Scratch Bug Fixes by Exact Symptom > Fast, symptom-by-symptom solutions for the 100 most common Scratch bugs—from stuck sprites to clone leaks and lag. Diagnose and fix 100 common Scratch 3.0 errors fast: movement, jumps, clones, sound, Pen, lists, cloud variables, and Chromebooks. ## Browse all 100 Scratch bug fixes Find the exact symptom you are seeing and follow the quick fix checklist. - [Fix: Sprite Will Not Move at All](/en/fixes/sprite-wont-move/): Check for a green-flag hat block and wrap continuous key checks inside forever. - [Fix: Player Gets Stuck Inside Walls](/en/fixes/sprite-stuck-in-wall/): Separate X and Y axis movement and undo only the axis that caused the collision. - [Fix: Player Falls Through Thin Floors](/en/fixes/sprite-falls-through-floor/): Cap max downward y_vel (e.g., -15) and resolve floor overlap inside a no-refresh block. - [Fix: Character Can Jump Forever in Midair](/en/fixes/infinite-air-jump/): Allow jumping only when grounded (touching floor) or jumps_left > 0. - [Fix: Jump Key Sometimes Does Not Respond](/en/fixes/jump-wont-trigger/): Test floor contact by nudging y by -1, checking touching floor, then restoring y by +1. - [Fix: Double Jump Uses Both Jumps Instantly](/en/fixes/double-jump-fires-together/): Add a key-release check so holding Space does not consume jump #2 on the very next frame. - [Fix: Sprite Flips Upside Down Moving Left](/en/fixes/sprite-flips-upside-down/): Run "set rotation style [left-right]" under the green flag. - [Fix: Sprite Disappeared From the Stage](/en/fixes/sprite-disappeared/): Reset go to x:0 y:0, show, set size 100%, clear graphic effects, and go to front layer. - [Fix: Sprite Hidden Behind Another Object](/en/fixes/sprite-behind-background/): Call "go to front layer" on players and UI, and "go to back layer" on scenery. - [Fix: Sprite Moves Sideways or Backward](/en/fixes/sprite-moves-sideways/): Check costume orientation (must face right in editor) and direction value (90° = right). - [Fix: Sprite Jumps Around When Turning](/en/fixes/sprite-teleports-on-turn/): Center every costume accurately on the crosshair in the Costume Editor. - [Fix: Walking Animation Looks Frozen or Blurry](/en/fixes/costume-wont-animate/): Add a 0.1–0.15s wait after "next costume" and run animation in a separate script from glide. - [Fix: Keyboard Controls Freeze During Glide](/en/fixes/glide-blocks-controls/): Replace "glide" with small "change x/y" steps inside a forever loop so input stays live. - [Fix: Walking Stutters Before Moving Smoothly](/en/fixes/key-event-stutters/): Switch from "when key pressed" hat blocks to "forever + if ". - [Fix: Moving Diagonally Is Faster Than Straight](/en/fixes/diagonal-too-fast/): Multiply both x and y steps by 0.707 when horizontal and vertical keys are held together. - [Fix: "If on Edge, Bounce" Does Nothing](/en/fixes/edge-bounce-not-working/): Use "move steps" instead of "change x/y" because edge bounce reverses sprite direction. - [Fix: Sprite Vibrates Stuck Against Screen Edge](/en/fixes/sprite-stuck-on-edge/): Nudge the sprite 2 steps inward after bouncing or clamp coordinates cleanly. - [Fix: "Touching Color?" Fails to Detect](/en/fixes/touching-color-misses/): Re-sample with the eyedropper tool and beware anti-aliased edge colors—prefer touching Sprite. - [Fix: Collision Does Not Work on Hidden Sprite](/en/fixes/touching-hidden-sprite/): Use "set ghost effect to 100" instead of "hide" when an invisible trigger must still detect hits. - [Fix: Fast Bullets Pass Right Through Enemies](/en/fixes/bullet-passes-through/): Break large 25-step moves into smaller sub-steps (e.g., repeat 5: move 5 steps + check hit). - [Fix: Bullet Deletes Before Enemy Detects Hit](/en/fixes/bullet-misses-damage/): Add "wait 0 seconds" before "delete this clone" so both sprites detect contact on that frame. - [Fix: Score Jumps by +30 on One Coin Touch](/en/fixes/score-adds-30-times/): Hide, move, or delete the coin immediately on contact—or add a wait-until-not-touching guard. - [Fix: Score Starts With Last Game’s Points](/en/fixes/score-not-resetting/): Add "set score to 0" directly under "When green flag clicked". - [Fix: Score Always Stays Stuck at 0](/en/fixes/score-stuck-at-zero/): Move "set score to 0" OUTSIDE the forever loop! - [Fix: Health Drops Below 0 (-5 HP)](/en/fixes/hp-goes-negative/): Check <(hp) < (1)> for Game Over and clamp with "if <(hp) < (0)> set hp to 0". - [Fix: Touching Enemy Drains All HP Instantly](/en/fixes/instant-death-on-touch/): Add 1-second invulnerability cooldown after taking damage. - [Fix: Clones Stop Appearing Mid-Game](/en/fixes/clones-stop-spawning/): You hit Scratch’s 300-clone limit—ensure every finished clone runs "delete this clone". - [Fix: Broadcast Spawns Hundreds of Extra Clones](/en/fixes/clones-multiply-exponentially/): Filter broadcasts using a local ("for this sprite only") variable is_clone = 0 on the original. - [Fix: Hitting One Enemy Damages Every Enemy](/en/fixes/clones-share-same-hp/): Recreate the HP variable as "For this sprite only" so each clone owns its own HP. - [Fix: Created Clones Never Show Up](/en/fixes/clone-not-visible/): Put a "show" block under "When I start as a clone" when the original sprite is hidden. - [Fix: Old Clones Remain on Title Screen](/en/fixes/clone-stays-on-gameover/): Add "when I receive [Reset] → delete this clone" so all clones clear cleanly. - [Fix: Background Music Buzzes Like a Machine Gun](/en/fixes/sound-buzzes-in-loop/): Replace "start sound" inside forever with "play sound until done". - [Fix: Sprite Freezes While Sound Plays](/en/fixes/sound-blocks-movement/): Use "start sound" for instant effects or play music in a separate parallel script. - [Fix: No Audio Plays in Scratch](/en/fixes/no-sound-at-all/): Check browser tab mute, system volume, Sounds tab preview, and "set volume to 100%". - [Fix: Music Keeps Playing After Game Over](/en/fixes/bgm-wont-stop/): Stop the BGM script ("stop other scripts in sprite") before calling "stop all sounds". - [Fix: Speech Bubble Never Disappears](/en/fixes/say-bubble-wont-leave/): Use "say ()" with an empty input or switch to "say (...) for (2) seconds". - [Fix: Ask Input Box Stays Stuck on Screen](/en/fixes/ask-box-wont-close/): Stop the asking script with "stop other scripts in sprite" when leaving the quiz scene. - [Fix: Broadcast Receiver Restarts Over and Over](/en/fixes/broadcast-never-finishes/): Do not fire a broadcast continuously inside an unguarded forever loop. - [Fix: Sprite Ignores My Broadcast](/en/fixes/broadcast-not-received/): Verify sender and receiver select the exact same message name in the dropdown. - [Fix: Project Only Works After Clicking Green Flag Twice](/en/fixes/green-flag-twice/): Use "broadcast [Init] and wait" before starting gameplay loops so variables reset first. - [Fix: Game Freezes to 1 FPS Immediately](/en/fixes/lag-no-refresh-wait/): Remove every "wait", "glide", or "forever" block from inside "Run without screen refresh" custom blocks! - [Fix: FPS Drops When Many Enemies Spawn](/en/fixes/lag-touching-color/): Replace "touching color?" checks inside clones with "touching Sprite?" or distance math. - [Fix: Complex Vector Art Causes Stuttering](/en/fixes/lag-huge-vector/): Simplify unused vector nodes or avoid scaling huge sprites every single frame. - [Fix: Pen Blocks Draw Nothing](/en/fixes/pen-wont-draw/): Check "pen down", pen size >= 1, contrast with backdrop, and that no sprite covers the stage. - [Fix: Unwanted Line Connects Two Shapes](/en/fixes/pen-stray-line/): Run "pen up" BEFORE moving to the next starting coordinate, then "pen down". - [Fix: Pen Drawing Appears Behind Sprites](/en/fixes/pen-behind-sprite/): Pen always renders on the backdrop layer—hide blocking background sprites or use pen-only UI. - [Fix: Stamped Sprites Look Slightly Blurry](/en/fixes/stamp-blurry/): Draw crisp vector costumes at 100% scale and align coordinates to whole integers. - [Fix: List Items Double Every Time You Play](/en/fixes/list-doubles-on-replay/): Add "delete all of [list]" before populating temporary lists on green flag. - [Fix: First List Item Is Blank or Skipped](/en/fixes/list-off-by-one/): Scratch lists start at index 1 (not 0)—initialize counter i to 1! - [Fix: Loop Deleting List Items Skips Neighbors](/en/fixes/list-delete-skips/): Iterate backward from (length of list) down to 1 when deleting inside a loop. - [Fix: Cannot Copy Save Code From Variable](/en/fixes/list-wont-copy/): Put the save code into a 1-item list and show the list—players can triple-click and copy cleanly. - [Fix: Random Number Checks Never Match](/en/fixes/random-mismatch/): Store "pick random" into a variable first before testing it in multiple "if" blocks. - [Fix: Pick Random Only Gives Whole Numbers](/en/fixes/random-no-decimals/): Include a decimal point like "pick random (0.0) to (1.0)" to generate decimal values. - [Fix: Score 10 Does Not Trigger "Score > 10"](/en/fixes/inequality-boundary/): Use <(score) > (9)> for integers or <<(score) > (10)> or <(score) = (10)>>. - [Fix: Joined Words Run Together ("Score:10")](/en/fixes/string-join-no-space/): Add a trailing space inside the first text slot: join("Score: ", score). - [Fix: "Letter 0 of Word" Returns Empty](/en/fixes/letter-index-zero/): Scratch string positions start at 1 ("letter 1 of Scratch" = "S"). - [Fix: Timer Keeps Counting After Stop](/en/fixes/timer-never-stops/): That is normal in Scratch—call "reset timer" at start and copy into a variable when stopped. - [Fix: Timer Shows 4.829104 Seconds](/en/fixes/timer-long-decimals/): Display "round(timer)" or "floor(timer)" in a clean variable instead of raw timer. - [Fix: Cloud Variable Does Not Save Text](/en/fixes/cloud-var-not-saving/): Cloud variables accept DIGITS ONLY (no letters or symbols, max 256 digits). - [Fix: Cloud Variable Checkbox Is Missing](/en/fixes/cloud-option-missing/): Cloud variables require a confirmed full "Scratcher" account (not New Scratcher). - [Fix: Cloud Multiplayer Stops Updating](/en/fixes/cloud-rate-limit/): Limit cloud writes to at most ~10 updates per second (wait 0.1s between writes). - [Fix: Custom Block Definition Never Runs](/en/fixes/custom-block-not-running/): Defining a block only teaches Scratch what it means—you must also call it from a script! - [Fix: Cannot See My Custom Block in Another Sprite](/en/fixes/custom-block-missing-sprite/): Custom blocks are sprite-local; drag the define stack onto the other sprite thumbnail to copy it. - [Fix: All Blue Motion Blocks Disappeared](/en/fixes/motion-blocks-gone/): You selected the Stage! Click a Sprite thumbnail in the bottom-right panel. - [Fix: Two Blocks Refuse to Connect](/en/fixes/blocks-wont-snap/): Check shapes: hat blocks go on top, cap blocks ("stop all") cannot have blocks below them. - [Fix: "Project Could Not Save" Warning](/en/fixes/project-wont-save/): Download a .sb3 backup immediately, check login status, and ensure no audio clip exceeds 10 MB. - [Fix: Orange Share Button Is Missing](/en/fixes/share-button-missing/): Confirm the email address registered to your Scratch account in Account Settings. - [Fix: Double-Clicking .sb3 File Shows Error](/en/fixes/sb3-wont-open/): Open Scratch first and load via File → Load from your computer. - [Fix: Stage Turns Blank White on Chromebook](/en/fixes/webgl-blank-stage/): Close extra browser tabs, enable hardware acceleration, and reload the page. - [Fix: Game Unplayable on iPad or Phone](/en/fixes/touch-controls-missing/): Add clickable on-screen arrow/jump button sprites for touch players. - [Fix: Game Restarts on Game Over Backdrop](/en/fixes/backdrop-stuck-gameover/): Add "switch backdrop to [Title]" under green flag on the Stage. - [Fix: Sprite Misses Backdrop Switch](/en/fixes/backdrop-event-missed/): Ensure the sprite’s "when backdrop switches to" selects the exact spelling of the backdrop. - [Fix: Sprite Refuses to Grow Past 150%](/en/fixes/size-wont-grow/): Scratch caps max size based on costume dimensions; switch briefly to a tiny costume, set size, then switch back. - [Fix: Sprite Will Not Shrink Below 20%](/en/fixes/size-wont-shrink/): Switch briefly to a large blank costume, set size, then switch back to the target costume. - [Fix: Scrolling Sprite Stops at Screen Edge](/en/fixes/sprite-stuck-offstage/): Scratch fences sprites onscreen; switch temporarily to a huge costume before moving off-stage, then swap back. - [Fix: Players Can Drag Character Past Walls](/en/fixes/mouse-drag-cheat/): Set drag mode to "not draggable" and test in full-screen Project Page mode (editor always allows dragging). - [Fix: Webcam Motion Feels Backwards](/en/fixes/video-mirror-backwards/): Use "turn video [on-flipped]" so left and right match like a mirror. - [Fix: Text-to-Speech Does Not Speak](/en/fixes/tts-no-voice/): Confirm active internet connection and that browser audio is not muted. - [Fix: Translate Block Returns Original Word](/en/fixes/translate-empty/): Check internet connectivity and school firewall allow-lists for Scratch API endpoints. - [Fix: Scratch Cannot Find My micro:bit](/en/fixes/microbit-not-found/): Flash the official Scratch micro:bit HEX file, open Scratch Link, and turn Bluetooth ON. - [Fix: micro:bit Drops Connection Mid-Game](/en/fixes/microbit-disconnects/): Replace weak AAA batteries or power via a stable USB cable. - [Fix: White Seams Appear Between Scrolling Tiles](/en/fixes/scrolling-gap/): Overlap tiles by 1 pixel or snap camera coordinates with round(cam_x). - [Fix: Player Gets Caught Walking Up Slopes](/en/fixes/slope-snags/): Allow stepping up by 1 pixel up to 8 times on horizontal wall hit before undoing x movement. - [Fix: Player Slides Off Moving Platforms](/en/fixes/platform-slips/): Add the platform’s frame delta_x to the player’s x while standing on top. - [Fix: 3D Raycaster Walls Look Curved (Fisheye)](/en/fixes/raycaster-fisheye/): Multiply raw ray distance by cos(ray_angle - camera_angle) before computing wall height. - [Fix: Player Dies Without Visually Touching Spike](/en/fixes/hitbox-too-wide/): Switch to a slightly forgiving inner rectangle hitbox costume during collision checks. - [Fix: All Enemy Clones Merge Into One Blob](/en/fixes/enemy-stacks-together/): Give each clone a slight random speed offset or push overlapping clones apart gently. - [Fix: Quiz Marks Correct Answer Wrong for Spaces](/en/fixes/quiz-case-typo/): Use clickable multiple-choice buttons or check "" for friendlier grading. - [Fix: Typing Game Triggers Twice Per Press](/en/fixes/typing-accents/): Wait until > or use "ask and wait" for multi-letter words. - [Fix: Accidentally Deleted a Whole Sprite](/en/fixes/undo-deleted-sprite/): Immediately click Edit → Restore Sprite in the top menu bar before closing the tab! - [Fix: Imported MP3 Stops Project From Saving](/en/fixes/sound-clip-too-long/): Trim or split long audio clips into smaller pieces under 10 MB (WAV/MP3 limit). - [Fix: Orange Variable Monitors Block Gameplay](/en/fixes/variable-covers-action/): Drag monitors to corners, switch to Large Readout, or hide debug variables before sharing. - [Fix: Costume Text Gets Cropped on Stage](/en/fixes/text-cut-off/): Leave a small transparent margin around vector text in the Costume Editor. - [Fix: Sprite Looks Jagged and Blurry](/en/fixes/bitmap-pixelated/): Convert artwork to Vector mode before scaling or rotating. - [Fix: Welcome Message Says "Hello, !"](/en/fixes/username-blank/): Check "if <(username) = ()>" and fall back to "Guest" for signed-out players. - [Fix: Keyboard Ignores 3rd Simultaneous Key](/en/fixes/two-player-ghosting/): Spread Player 1 (WASD) and Player 2 (IJKL or Arrows) across keys that avoid laptop rollover limits. - [Fix: TurboWarp Project Fails on Scratch.mit.edu](/en/fixes/turbowarp-compat/): Remove TurboWarp-only extensions if you plan to upload the .sb3 back to Scratch. - [Fix: Missing Credit on a Remixed Project](/en/fixes/project-remix-credit/): Keep original attribution intact and list every changed mechanic in Notes & Credits. - [Fix: Project Takes Long to Start After Green Flag](/en/fixes/slow-startup/): Pre-generate static lists once and avoid running heavy Pen loops before the Title screen. - [Fix: Recursive Custom Block Freezes Browser](/en/fixes/infinite-recursion/): Always add a stopping base case (e.g., "if <(depth) > (0)> then") that shrinks toward 0. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/fixes/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)