ScratchData LogoScratchData
Back to imfh's profile

Fullscreen Detector -remix-

IMimfh•Created December 16, 2019
Fullscreen Detector -remix-
266
249
3084 views
View on Scratch

Instructions

Welcome to a remix of version 2 of Special Detector! This remix can detect when you switch between fullscreen views. It can also tell when you are in the editor... Fullscreen detection does not work on mobile. To find out why, checkout the notes. Here are a few things it can detect: views, copy link, report, love, fave, fullscreen... If you find this useful, consider leaving a ❤️ & ⭐️! Thanks to @qucchia for creating the original project! HOW TO USE: to use this, backpack the "detector" sprite in your backpack. The information for the button the user is touching is stored in the "touching" variable. Remember to give credit! To use the fullscreen detector, copy the detector sprite into your project. Next, make sure the Check Fullscreen block is setup to run in a loop. You can check the view by looking at the variable "fullscreen."

Description

This was reshared after being taken down automatically. Thanks to @qucchia for the original project! This remix has been modified to add fullscreen detection. How it works: When you switch between views, the fullscreen button and stage moves, but the mouse stays in the same spot. This project detects that sudden movement of the mouse away from the fullscreen button. You might notice that if you move the mouse really quickly over the fullscreen button, it thinks you changed views! To double check that the project knows the right view, it also looks at the new position of the mouse. This also allows it to detect the editor view. After pressing fullscreen, the mouse's position only updates when you wiggle it. On mobile, since the mouse jumps rather than move, fullscreen detection does not always work.

Project Details

Project ID354261976
CreatedDecember 16, 2019
Last ModifiedJanuary 2, 2025
SharedSeptember 27, 2021
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root