Is there any example of using "obs_source_info.mouse_click" function?

danyayoe

New Member
Hi to all!

I trying to do something like a photo / video booth based on OBS Studio, and the key point is creating a UI for the touch screen tapping (for mouse clicking) on Windows. When the user tapes to the obs_source_t object on the screen, the event opens a scene for filming on green screen, etc.
But I don`t understand how to use this function from the documentation for Lua. Is there any example of using "obs_source_info.mouse_click" function for create easy UI?

There is source link to the documentation: https://obsproject.com/docs/reference-sources.html?highlight=mouse#c.obs_source_info.mouse_click

I will be glad to any help.
 
Top