Prefabs and Templates in hyperPad: When to Use Each
hyperPad

Prefabs and Templates in hyperPad: When to Use Each

January 5, 2026
Prefabs and Templates in hyperPad: When to Use Each

Prefabs and templates in hyperPad let you save an Object, with its settings and Behaviors, in the Asset Library and reuse it across your game. The difference is what happens after you place copies. Every copy of a prefab shares the same Behaviors, so one edit updates them all. Each copy of a template can be changed on its own. Here's how each one works and when to use it.

What are prefabs and templates?

Both store the settings and Behaviors of a single Object. They differ in how their copies (instances) behave.

  • Prefabs keep Objects consistent. Every instance shares the same Behaviors. Place a coin prefab all over a level, edit one coin's Behaviors, and every other coin updates too.
  • Templates give you a starting point. You can change each instance without affecting the others. A Player template might use different movement settings in an underwater level than on land.
Use a prefab whenUse a template when
Every copy should act the same wayCopies start the same but change per Scene
You'll tune the logic often and want one place to edit itYou want to tweak one instance without touching the rest
Examples: coins, breakable platforms, basic enemiesExamples: the player, level-specific hazards, UI panels

The Prefabs and Templates guide covers how to create each one.

https://www.youtube.com/embed/1S8it12n1IM

Why they help as your game grows

  • Faster changes. Change a prefab's Behaviors once and the update reaches every instance in your Project.
  • Fewer mistakes. When a hundred coins share one set of Behaviors, you can't forget to fix one of them.
  • Room to experiment. Use templates to try variations of an Object in different Scenes, and keep prefabs for the parts that must stay identical.
  • Lighter Projects. Reusing one set of logic is easier to inspect than dozens of copied Behavior Trees.

Practical examples

  • Player character: Make a Player template for every level. Add a double jump in one level or swim controls in another without changing the rest.
  • Enemies: Build a basic enemy prefab with its movement and attack logic. Every instance shares those Behaviors, so tuning the speed once balances the whole level.
  • Coins and collectibles: Use a coin prefab so every coin spins, floats, and adds to the score the same way.
  • Breakable platforms: A prefab makes every breakable platform crumble on the same timing, so the challenge stays fair across levels.
  • Environment Objects: Trees, rocks, traps, and puzzle pieces can be prefabs when they behave the same everywhere, or templates when each one needs its own twist.
  • UI elements: Build a button or menu panel once as a template, then change the label or color for each screen.

Prefabs and templates in the hyperPad editor

A quick way to decide

Ask one question about the Object: if I change this copy, should every other copy change too? If yes, make it a prefab. If no, make it a template.

Try it on your own Project

Open your current Project and find the Object you've copied most often. Save it as a prefab, replace the copies with prefab instances, and change one value in its Behaviors. Press Play and check that every instance picked up the change. To keep building, the iPad game development guide walks through the next steps for a full game.

hyperPad Starter

Make Your First Game on iPad

Start with one free project in hyperPad Starter. Drag, drop, and connect Behaviors to build your game without traditional code.

Try hyperPad Starter

Free to download · One project included