Exe 6
  • What's Exe 6?
  • Get Started
    • Purchasing
  • Installation
  • Authentication
  • Roles
  • Configuration
  • Custom Commands
    • Getting Started
    • Attributes
    • Parameters
      • Player Parameter
      • Slider Parameter
      • Text Box parameter
      • Boolean Parameter
      • Enum Parameter
    • Receiving Events
    • Demostration
  • APPS
    • Introduction to Apps
    • Prepare
    • Publish
    • Submit
    • Update
    • App Guidelines
Powered by GitBook
On this page
  1. Custom Commands
  2. Parameters

Enum Parameter

PreviousBoolean ParameterNextReceiving Events

Last updated 1 month ago

The enum parameter is the best way of selecting objects of your game, It has compatibility with almost every object that exists on studio and it can create systems for yourself easily.

How to register it?

Code:

MyCommand:AddParameter("Enum", {
    Name = "Amazing Enum", --// Parameter name.
    Items = game.Workspace:GetChildren(), --// Table of items in the list.
    SelectionRange = NumberRange.new(1, 5) --// Minimum & Maximum of items you can select.
})

If you did it correctly, You should see the parameter appear on the parameters section.