togglePart

@NotNull
open fun togglePart(toggle: Boolean): @NotNull TrackerUpdateAction.TogglePart

Creates an action to toggle the visibility of a part.

Return

the action

Since

1.15.2

Parameters

toggle

true to show, false to hide