If you set an object to have .isVisible = false and then set the same object to have .isHitTestable = true, the object becomes visible again which defeats the purpose of having .isHitTestable as a property in the first place.
Taking this example straight from the API reference docs:
local circle = display.newCircle(100, 100, 50)
circle:setFillColor(255, 0, 0)
circle.isVisible = false
circle.isHitTestable = true
The circle is drawn even though circle.isVisible = false. It happens with both vector objects and images, in the simulator and on the device.
[import]uid: 9064 topic_id: 4146 reply_id: 304146[/import]