[Objective]|[nil] objective = Scoreboard.getObjective(name)


Gives you the display objective for that location
Note: that its not it's not guaranteed you will get anything beyond the display ones.

Parameters


name

string

The name of the objective (not the display name)

Return Value


objective

Objective | nil

The objective or nil if it was not found