Home Forums General Programming click+drag up/down Lua on uiButton

This topic contains 1 reply, has 2 voices, and was last updated by atom atom 3 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13888
    msepsis
    msepsis
    Participant

    I’m curious if in addition to clicking a multi-value (0-7) button if it could be possible to script additional click+drag up/down functionality attached to the button which gives it the additional functionality making it almost a button/slider hybrid?

    Also is it possible to give a button a modifier key so you can make the button’s value = (value-1)?

    So if i click the button w/ values 0-7 it goes up incrementally by one value, if I ctrl+click or right click the parameter subtracts 1 from the current value.

    Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

    #13943
    atom
    atom
    Moderator

    I wanted to add a generic (every component has it) mouseDown, mouseUp, mouseEnter, mouseExit, mouseDrag calls. But i never got to it, if that’s needed it’s simple to add i’ll do that once i get a chance this week.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.