API ReferenceAll TypesmodelMasterBaraddDirectionOn this pageaddDirectionDescription​ Adds a direction to the masterbar. JavaScriptC#KotlinaddDirection(direction: Direction): voidvoid AddDirection(Direction direction)fun addDirection(direction: Direction): Unit ParameterSummarydirectionAllThe direction to add.