Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

what is the difference beetween non-enum code and enum code? [closed]

Asked by 5 years ago

This question already has an answer here:

Why should scripters use Enumeration rather than strings?

what is the difference beetween script.Parent.Material = "Grass" script.Parent.Material = Enum.Material.Grass

0
They both do the same thing, the top one is just shorthand. davidgingerich 603 — 5y

Marked as Duplicate by User#24403

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?