Hi,
ok, please find attached a template that shows how to do this.
1: Open the "Daiken Forge/Examples/Containers/ScrollPanel" example shipped with DFGUI
2: Select the gameobject "UI Root/Window/Scroll Panel" and check "Use Arrow Keys" to true
3: Select the top left "Placeholder" gameobject inside the scroll panel
4: add an fsm based on the template "ClickOrScroll" from the package attached to this post
5: on that fsm, select the variable "Vertical scrollBar" and point to "UI Root/Window/Vert Scrollbar"
6: run the scene
7: mouse down on this placehoder, while you are down, press the up and down arrow keys to scroll, and the state "nothing" is entered.
8: mouse down again on this placeholder, this time don't scroll, release the mouse, the state "Perform Action" is entered
If you have a specific setup, pm me with your scene, but that template will definitly work as it's agnostic to how you scroll basically.
I would trigger in turn a global event send to the gameobject like "PERFORM CLICK" or something so that you can have on template for all your similar placeholders withotu having to manually recreate this behavior again and again.
trick: create an fsm and in the inspector "use template" and reference this "ClickOrScroll", if you create an fsm using a template, it's a hard copy which makes it not really flexible for global editing.
Bye,
Jean