😍
Mutate tutorials and guides
  • 💜Welcome to Mutate!
  • Guides
    • 🏁How to get started using Mutate
    • 🗺️Basic Navigation in Mutate
    • 📥Importing assets into Mutate
    • 🧠Creating game logic in Mutate
      • ✨Spawning
      • 💀Re-Spawning
      • ⚙️Platforms
      • 🏆Collectibles
      • 👀Item Visibility
      • 🔂Item Respawn
    • 🏃‍♀️Obstacle course tutorial
  • Tools
    • ✊Grab Manipulator
    • 🛠️Transform Manipulator
      • ↔️Move
      • 🔄Rotate
      • ↗️Scale
      • 🌐Global/Local
    • ⛓️Linking
      • 💥Components, Actions & Events
      • 📦Entity Components
      • 🙋Player Components
      • 🎮Game Components
      • 🌍Environment Components
  • Content Browsers
    • 📒Asset Browser
    • 🎨Material Browser
  • COMPONENT TUTORIALS
    • 🔍Components - a closer look
      • Entity Components
        • ↕️Mover
          • Elevators
        • 🔃Rotator
        • 🎯Collider
        • 🚧Collision Toggler
        • 👈Interact
        • 🕶️Hider
        • ⏰Timer
        • 💡Light Source
        • 🐣Spawn Point
        • ⚠️Trigger Zone
        • 🧚‍♀️Force Zone
        • 🔓Exclusive Zone
        • 📸Post-Process Zone
        • 🎧Sound
        • 🎲Die Roller
        • 💣Destruction
        • 🔫Shootable
        • 💬Broadcaster
Powered by GitBook
On this page
  1. COMPONENT TUTORIALS
  2. Components - a closer look
  3. Entity Components

Interact

is an Entity Component

PreviousCollision TogglerNextHider

Last updated 3 years ago

Interact is another highly useful and diverse component, and perhaps the most self-explanatory. Like Collider, it can be used to make any number of things happen by having players interact with an object.

To interact with an object in play mode, hover over the interactable and press F. Text will appear over it to indicate what kind of interaction you can fulfil.

  • Text - what appears as the command when players hover over the object. Can be whatever you want, according to what the desired outcome will be.

    • E.g. for a lever that links to an exploding door, you can put 'Pull lever' or 'Detonate' or 'Boom!' or just leave it as 'Interact' to keep some mystery...

  • Highlight voxels - choose whether or not the interactable object will turn a different colour when the player hovers over it, to show you can interact with it

  • Enable interactions - dictates whether or not an object can be interacted with from the start of the game, or if it requires an event to unlock interactions first.

    • The equivalent of "Auto-start" for Mover or Rotator.

Common uses

  • Event trigger - I pull a lever, a door opens; I pet a cat, it meows; I pick up an object, it disappears, etc.

  • An 'everyone's ready' - begin the events of a game after everyone has loaded in to a loading zone, by pulling a lever to respawn everyone into the actual game-world

  • Almost anything ;)

🔍
👈