## setOffset Sets the offset of the menubar (the same as you would scroll) - default is 0 #### Parameters: 1. `number` The offset value #### Returns: 1. `object` The object in use #### Usage: * Creates a default menubar with 6 entries and sets the offset to 3. ```lua local main = basalt.createFrame() local aMenubar = main:addMenubar() :addItem("1. Entry") :addItem("2. Entry") :addItem("3. Entry") :addItem("4. Entry") :addItem("5. Entry") :addItem("6. Entry") :setOffset(3) ``` ```xml 1. Entry 2. Entry 3. Entry 4. Entry 5. Entry 6. Entry ```