Skip to main content
Version: v2

IMG_CLICK

Code examples

let click = hmUI.createWidget(hmUI.widget.IMG_CLICK, {
x: 329,
y: 337,
w: 40,
h: 23,
src: rootPath + 'click.png', // Image to be displayed when clicked.
type: hmUI.data_type.STRESS
//Must write.The action to jump.
})