Pytch

  • About Pytch
  • Help
  • Tutorials
  • My projects

These help pages are incomplete — we are working on it!

Writing Pytch programs¶

Contents:

  • Sprites
    • Creating Sprites
    • Saying how a sprite should behave
    • Controlling how a sprite looks
    • Moving a Sprite
    • Finding a Sprite’s position
    • Turning a Sprite
    • Making sounds
    • Making and deleting copies of a Sprite
    • Checking for sprites colliding
    • Showing and hiding speech bubbles
    • Asking the user a question
  • The stage
    • Methods and properties available on the Stage
  • Scratch blocks → Pytch functions and methods
    • Methods on a Sprite
    • Methods on the Stage
    • Functions in the pytch module
  • Functions in the pytch module
    • Pausing a script
    • Creating a clone
    • Sounds
    • Asking the user a question
    • Sensing whether a particular key is pressed
    • Broadcasting messages
    • Stopping all scripts
    • Variable watchers
    • Suspiciously long-running loops outside event handlers
  • Scratch hat blocks → Pytch decorators
    • pytch.when_green_flag_clicked
    • pytch.when_key_pressed()
    • pytch.when_this_sprite_clicked
    • pytch.when_stage_clicked
    • pytch.when_I_receive()
    • pytch.when_I_start_as_a_clone
  • Defining costumes
    • Advanced Costume specifications
  • Defining backdrops
  • Defining sounds
    • Playing sounds
  • Running many scripts at once
  • Using the Pytch web app
  • Writing Pytch programs
    • Sprites
    • The stage
    • Scratch blocks → Pytch functions and methods
    • Functions in the pytch module
    • Scratch hat blocks → Pytch decorators
    • Defining costumes
    • Defining backdrops
    • Defining sounds
    • Running many scripts at once
  • About Pytch
  • Contact
  • Developer documentation
  • Legal information

  • Pytch help home