功能:按鈕

Function: Button


點擊可以執行FancyCore的動作。

Click to execute FancyCore actions.

屬性Attributes


Untitled

範例Examples


ButtonExample:
  Type: Button
  DisplayName: '§e關閉視窗'
  ImageOn: 'https://i.imgur.com/VmfhCq2.png'
  ImageOff: 'https://i.imgur.com/9q8FpAt.png'
  WidthOn: 0
  HeightOn: 0
  WidthOff: 0
  HeightOff: 0
  Close: false
  ToMenu: ''
  Action:
    Left:
    - 'Action[a=CloseGui]'