MCPcopy Create free account
hub / github.com/Sentdex/pygta5 / left

Function left

original_project/Tutorial Codes/Part 8-13 code/test_model.py:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 ReleaseKey(D)
28
29def left():
30 PressKey(W)
31 PressKey(A)
32 #ReleaseKey(W)
33 ReleaseKey(D)
34 #ReleaseKey(A)
35 time.sleep(t_time)
36 ReleaseKey(A)
37
38def right():
39 PressKey(W)

Callers 1

mainFunction · 0.70

Calls 2

PressKeyFunction · 0.90
ReleaseKeyFunction · 0.90

Tested by

no test coverage detected