Drag a Button element from the Elements panel on the left side and drop it on your screen.
Open the Properties panel on the right side.
From the + ADD ACTION menu, add the Device > Get Wifi Network Info action according to the trigger event you want (Initial Actions, OnClick, OnBlur, etc.).