Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Point in Direction ()

    2D Blocks
    1
    1
    381
    Loading More Posts
    • 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.
    • info-creaticode
      CreatiCode last edited by admin

       

      Prerequisite

      • The When greenflag3.png Clicked Block
      • Tun Left () Degrees | Turn Right ( ) Degrees

       

      The Point in Direction ( ) Block

      Besides turning a sprite, you can also make it point to a direction with this block:

      ccimg2||300||,

       

      Direction in Degrees

      You can set the direction number using the spin wheel or typing it in yourself. For example, 180-degree points down, and 60-degree points to the top right.

      ccimg||900||,

       

      Directions to the Left

      Whenever the direction is to the left, the spin wheel would write a negative number for you, with a “- sign” in front of the number.

      ccimg||500||,

       

      Using the Sprite Pane

      You can also read or change a sprite’s direction using the sprite pane. The sprite will rotate as you spin the wheel or type in the new direction number.

      ccimg3||500||,

       

      Learn More

      • Move ( ) Steps
      1 Reply Last reply Reply Quote 0
      • Pinned by  info-creaticode info-creaticode 
      • First post
        Last post