# define (custom block) — Scratch Block Guide > Header block where you build the reusable steps for your own custom command. How to use the "define (custom block)" block in Scratch 3.0 (My Blocks): clear explanation, working block example, and debugging tips. ## What this block does Header block where you build the reusable steps for your own custom command. Organize complex platformer physics, drawing routines, and reset scripts into clean named parts. - Category: My Blocks - Key tip: Enable "Run without screen refresh" only for instant loops—never put "wait" blocks inside a no-refresh definition! ## Working Scratch example Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it. **Example using define (custom block)** - Define (Reset Player) - Go to x: (-180) y: (0) - Set (y_vel) to (0) - Show Try it: Creates a reusable "Reset Player" block you can call from anywhere in the sprite. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to My Blocks](/en/dictionary/my-blocks/): See the overview and patterns for My Blocks. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/my-blocks/define-block/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)