MCPcopy Create free account
hub / github.com/TKazer/CS2_External / SetItemKeyOwner

Method SetItemKeyOwner

CS2_External/OS-ImGui/imgui/imgui.cpp:8967–8980  ·  view source on GitHub ↗

This is more or less equivalent to: if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID()); Extensive uses of that (e.g. many calls for a single item) may want to manually perform the tests once and then call SetKeyOwner() multiple times. More advanced usage scenarios may want to call SetKeyOwner() manually based on different condition. Worth noting is that only one item can be hover

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected