Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By : Michael Badger
Book Image

Scratch 2.0 Beginner's Guide: Second Edition

By: Michael Badger

Overview of this book

Table of Contents (18 chapters)
Scratch 2.0 Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using x and y coordinates to find the position of the mouse's pointer


At this point, our slideshow is full of engaging images and has a rich user experience. We could stop here, but we're going to add one more wrinkle to our show by making the arrows hide and show based on the position of the mouse cursor. We'll build these scripts block by block, so even if the x and y coordinate system is a new concept for you, you'll still have a ready-made example to explore the concept some more.