Empty parentheses in built in functions

Some built in functions have empty parentheses:
:Destroy()
:Clone()
:Play()
:Pause()
:Stop()
etc
Sometimes it make me worry. Do these parentheses always have to be empty? If not what i can do inside them?

Sorry for my grammar again

They can all not have anything in the parentheses and they can still run fine. But for certain few, such as Play and Stop, mostly for AnimationTracks as those methods exist for other things, like sounds, they can be passed in additional arguments to do something.

Example for Play() for AnimationTracks, if you give it a number inside of the parentheses, that’ll change the time it fades from one animation to the other, as that is the position the fadeTime parameter takes something.

Basically, it depends on the method really, some can be completely empty because of no paremeters, some can be given parameters but it’s optional as they have default values, not sure if ther eare any that require you to put a value in that parentheses

1 Like