InteractiveBoard Docs
  • GETTING STARTED
    • Installing InteractiveBoard
    • Commands & Permissions
    • Integrations
    • Creating a board
  • Objects
    • General Information
      • Enabled
      • Properties & Placeholders
      • Conditions
      • Layout
      • Click and Hover
      • Children
      • Cache Behavior
    • Background
    • Button
    • Gif
    • Image
    • Scroll Pane
    • Skin Objects
    • Text Objects
    • Static
      • Action Listener
      • Music Player
      • Delayed Function Timer
      • Repeat Function Timer
  • Functions
    • General Information
      • Conditions
      • Delay
      • Price
    • Switch Scene
    • Game
      • Command
      • Open Crafting Table
      • Play Sound
      • Send Message
      • Switch Server
    • State
      • Scroll Change
      • Enabled
        • Set Enabled State
        • Switch Enabled State
      • Playback
        • Set Playback State
        • Switch Playback State
    • Shop
  • Conditions
    • Has money
    • Permission
  • BOARD SETTINGS
    • General
    • Displays
    • View Grouping & Default Scenes
Powered by GitBook
On this page
  1. Objects

Gif

Displays an animated GIF that can be paused.

It is important to to keep GIF usage as minimal as possible, because it can impact network performance, especially for players with slow internet connections.

## object name, you can set this to anything that is unique
gif1:
  ## object type, in this case gif
  type: gif
  ## x and y positions relative to the parent
  position: 0 0
  ## width and height of the object (auto uses the dimensions from the gif file)
  size: auto auto   
  ## gif properties
  gif:
    ## the name of the gif file in images folder
    name: 'gif1.gif'
    ## should the gif reset when a scene is loaded
    reset: true
    ## should the gif run at 20fps instead of 10fps
    fast: false
    ## should gif be only played once and pause
    play-once: false
  ## is the gif paused
  paused: false

Last updated 9 months ago