Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. 知识库
  3. 小教程
  4. Border pointing bug fix -- !SIMPLIFIED!

Border pointing bug fix -- !SIMPLIFIED!

Scheduled Pinned Locked Moved 小教程
2 Posts 1 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by TAO
    #1

    WARNING: This tutorial will not work on a canvas that expands bigger than a 16:9 (this includes both canvas and viewport)

    If you want to know how to make it work on a bigger canvas/viewport than a 16:9, please view my previous tutorial:

    https://forum.creaticode.com/topic/1994/i-fixed-the-border-pointing-bug-tutorial?_=1759362965262

    –

    _Difficulty: 2/5

    d1573691-3ed4-455e-8920-583e6322b732-Screen recording 2025-09-29 1.24.02 PM.gif

    PART ONE:

    Have a small position dot set in the center of the scratch sprite creation tab. Use a forever loop to send this dot to the mouse pointer.

    Inside this same loop, add the positions of this dot by half of themselves and send it into two variables: MouѕeX and MouseY

    This is because a 16:9 portrait is almost double the size of regular Scratch 4:3 ratio

    This will make the mouse pointer have accurate proportions when aiming at it

    –

    PART TWO

    Use the “point towards” block with the two positions. Use the variables MouѕeX and Mouse Y for Position X and Position Y

    –

    1 Reply Last reply
    0
    • TheNicknameGovT Offline
      TheNicknameGovT Offline
      TheNicknameGov
      trusted helpers
      wrote on last edited by TAO
      #2
      This post is deleted!
      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • CreatiCode